diff --git a/src/AdvancedSearchQuery.php b/src/AdvancedSearchQuery.php index 628a152..e0e555f 100644 --- a/src/AdvancedSearchQuery.php +++ b/src/AdvancedSearchQuery.php @@ -85,7 +85,7 @@ public static function getRecurseParameter() { public function getTerms(Request $request) { $terms = []; if ($request->query->has($this->queryParameter)) { - $query_params = $request->query->get($this->queryParameter); + $query_params = $request->query->all()[$this->queryParameter]; if (is_array($query_params)) { foreach ($query_params as $params) { $terms[] = AdvancedSearchQueryTerm::fromQueryParams($params);