fix test in RepositoryQuery::addForcedFilterHandler
This commit is contained in:
parent
bd663838f6
commit
8979fc5beb
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
* fix regression on crud sorting
|
* fix regression on crud sorting
|
||||||
|
* fix test in RepositoryQuery::addForcedFilterHandler
|
||||||
* remove parameter $option on CrudConfiguration::setForm and fix CrudController make template
|
* remove parameter $option on CrudConfiguration::setForm and fix CrudController make template
|
||||||
|
|
||||||
## [v1.22.0] 2023-09-28
|
## [v1.22.0] 2023-09-28
|
||||||
|
|
|
@ -100,7 +100,7 @@ abstract class RepositoryQuery
|
||||||
|
|
||||||
protected function addForcedFilterHandler(string $name): self
|
protected function addForcedFilterHandler(string $name): self
|
||||||
{
|
{
|
||||||
if (in_array($name, $this->forcedFilterHandlers)) {
|
if (!in_array($name, $this->forcedFilterHandlers)) {
|
||||||
$this->forcedFilterHandlers[] = $name;
|
$this->forcedFilterHandlers[] = $name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue