Skip to content

Commit b8605d5

Browse files
committed
Fix tests
1 parent 3ee777a commit b8605d5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Traits/WithFilters.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,12 @@ public function removeFilter($filter): void
273273
return;
274274
}
275275

276+
if ($filter === 'search') {
277+
$this->filters['search'] = null;
278+
279+
return;
280+
}
281+
276282
if ($this->filters()[$filter]->isMultiSelect()) {
277283
$this->filters[$filter] = [];
278284

0 commit comments

Comments
 (0)