Skip to content

Commit

Permalink
Fix bug with FilterQueryString (#2014)
Browse files Browse the repository at this point in the history
* Fix bug with FilterQueryString

* Fix styling

---------

Co-authored-by: lrljoe <[email protected]>
  • Loading branch information
lrljoe and lrljoe authored Oct 25, 2024
1 parent ad80321 commit 92dc8fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/Core/QueryStrings/HasQueryStringForFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function queryStringForFilterIsEnabled(): bool
{
$this->setupQueryStringStatusForFilter();

return ($this->queryStringIsEnabled() === true || $this->getQueryStringStatusForFilter() === true) && $this->filtersAreEnabled();
return $this->getQueryStringStatusForFilter() && $this->filtersAreEnabled();
}

public function setQueryStringStatusForFilter(bool $status): self
Expand Down

0 comments on commit 92dc8fb

Please sign in to comment.