Skip to content

Commit

Permalink
Add "AND" between query and filterquery
Browse files Browse the repository at this point in the history
  • Loading branch information
chrizzor committed Sep 29, 2023
1 parent d07550d commit 5821aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/SearchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function indexAction()

// dataservice
if ($defaultQuery['query']) {
$dataserviceFilterquery = $defaultQuery['query'];
$dataserviceFilterquery = $defaultQuery['query'] . ' AND ';
if (is_array($defaultQuery['fq'])) {
foreach ($defaultQuery['fq'] as $value) {
$dataserviceFilterquery .= $value->getOptions()['query'] . ' AND ';
Expand Down

0 comments on commit 5821aeb

Please sign in to comment.