Skip to content

Commit

Permalink
fix filter on value
Browse files Browse the repository at this point in the history
  • Loading branch information
l3aro committed Dec 19, 2023
1 parent 21d373f commit 46e4ed9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/BaseFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ public function detectBy(string $detector)

protected function shouldFilter(string $key)
{
if (!$this->request->has($key)) {
if (isset($this->searchValue)) {
return true;
}

if (!$this->request->has($key)) {
return false;
}

Expand Down

0 comments on commit 46e4ed9

Please sign in to comment.