Skip to content

Commit

Permalink
Ajax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chrizzor committed Feb 25, 2024
1 parent cb806e5 commit c5db8be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classes/Ajax/Facets.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface
}
}
if ($defaultQuery === '') {
$defaultQuery = str_replace('%s', '*', $queryFields[0]['query']);
$defaultQuery = str_replace('%s', '*', $queryFields['0.']['query']);
$solrQuery = $defaultQuery . $solrQuery;
}

$addFacetsToSolrQuery = $solrQuery;
Expand Down

0 comments on commit c5db8be

Please sign in to comment.