Skip to content

Commit 9728dbf

Browse files
authored
Fix bug with FilterQueryString
1 parent 124bac1 commit 9728dbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Traits/Core/QueryStrings/HasQueryStringForFilter.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ public function queryStringForFilterIsEnabled(): bool
4444
{
4545
$this->setupQueryStringStatusForFilter();
4646

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

50+
5051
public function setQueryStringStatusForFilter(bool $status): self
5152
{
5253
$this->queryStringStatusForFilter = $status;

0 commit comments

Comments
 (0)