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 91f1f2b commit eeaf772Copy full SHA for eeaf772
src/Traits/WithFilters.php
@@ -269,9 +269,17 @@ public function getFiltersWithoutSearch(): array
269
*/
270
public function removeFilter($filter): void
271
{
272
- if (isset($this->filters[$filter])) {
273
- $this->filters[$filter] = null;
+ if (! isset($this->filters[$filter])) {
+ return;
274
+ }
275
+
276
+ if ($this->filters()[$filter]->isMultiSelect()) {
277
+ $this->filters[$filter] = [];
278
279
280
}
281
282
+ $this->filters[$filter] = null;
283
284
285
/**
0 commit comments