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 cf05744 commit 89fb455Copy full SHA for 89fb455
src/Traits/WithFilters.php
@@ -124,6 +124,7 @@ public function checkFilters(): void
124
// If the filter is multiselect, we'll initialize it as an array.
125
if ($filter->isMultiSelect()) {
126
$this->filters[$key] = [];
127
+
128
continue;
129
}
130
@@ -174,7 +175,7 @@ public function cleanFilters(): void
174
175
// Handle 'multiselect' filters
176
if ($filterDefinitions[$filterName]->isMultiSelect() && is_array($filterValue)) {
177
foreach ($filterValue as $selectedValue) {
- if (!in_array($selectedValue, $this->getFilterOptions($filterName))) {
178
+ if (! in_array($selectedValue, $this->getFilterOptions($filterName))) {
179
return false;
180
181
0 commit comments