mirror of
https://github.com/Codappix/search_core.git
synced 2024-11-22 09:16:21 +01:00
BUGFIX: Keep return type
* Return boolean type.
This commit is contained in:
parent
bb9e29574f
commit
f5729c2763
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class SearchRequest implements SearchRequestInterface
|
|||
*/
|
||||
public function hasFilter()
|
||||
{
|
||||
return count($this->filter);
|
||||
return count($this->filter) > 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue