diff --git a/src/Filter/UidFilter.php b/src/Filter/UidFilter.php index 4a032e9c8..65aa0fe70 100644 --- a/src/Filter/UidFilter.php +++ b/src/Filter/UidFilter.php @@ -50,7 +50,7 @@ public function filter(ProxyQueryInterface $query, string $alias, string $field, public function isSearchEnabled(): bool { - return $this->getOption('global_search'); + return $this->getOption('global_search')===null?false:$this->getOption('global_search'); } public function getDefaultOptions(): array