We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 058620a commit 4d368a7Copy full SHA for 4d368a7
src/SearchIndexAdapter/DefaultSearch/Search/Modifier/Filter/FieldTypeFilters.php
@@ -129,7 +129,7 @@ public function getBooleanMultiSelectFilter(
129
}
130
131
$hasNull = in_array(null, $filter->getValues(), true);
132
- $nonNullValues = array_filter($filter->getValues(), static fn ($v) => $v !== null);
+ $nonNullValues = array_values(array_filter($filter->getValues(), static fn ($v) => $v !== null));
133
134
return match (true) {
135
$hasNull && $nonNullValues !== [] => new MultiBoolQuery($fieldName, $nonNullValues),
0 commit comments