Merge pull request #36 from Islandora/rosiel-patch-1
Use syntax that works with http-foundation 6.
This commit is contained in:
commit
15703a124b
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ class AdvancedSearchQuery {
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue