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 11, 2024
1 parent b089b8d commit 7e11f6a
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 @@ -335,7 +335,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 7e11f6a

Please sign in to comment.