Skip to content

Commit

Permalink
[BUGFIX] Add $field to the facetset otherwise the name of the field d…
Browse files Browse the repository at this point in the history
…oes not exist (#1271)

Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
  • Loading branch information
chrizzor and sebastian-meyer committed Jul 16, 2024
1 parent 034a18c commit f3d9312
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 @@ -332,7 +332,7 @@ public function makeFacetsMenuArray(array $facets): array
}

foreach (array_keys($facets) as $field) {
$search['params']['component']['facetset']['facet'][] = [
$search['params']['component']['facetset']['facet'][$field] = [
'type' => 'field',
'mincount' => '1',
'key' => $field,
Expand Down

0 comments on commit f3d9312

Please sign in to comment.