File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 8
8
use ApiPlatform \Doctrine \Common \Filter \SearchFilterInterface ;
9
9
use ApiPlatform \Doctrine \Common \Filter \SearchFilterTrait ;
10
10
use ApiPlatform \Doctrine \Orm \Filter \AbstractFilter ;
11
+ use ApiPlatform \Doctrine \Orm \Filter \SearchFilter ;
11
12
use ApiPlatform \Doctrine \Orm \Util \QueryNameGeneratorInterface ;
12
13
use ApiPlatform \Exception \InvalidArgumentException ;
13
14
use ApiPlatform \Metadata \Operation ;
@@ -20,6 +21,8 @@ class GlobalSearchFilter extends AbstractFilter implements SearchFilterInterface
20
21
{
21
22
use SearchFilterTrait;
22
23
24
+ public const DOCTRINE_INTEGER_TYPE = Types::INTEGER ;
25
+
23
26
final public const GLOBAL_SEARCH_QUERY_PARAMETER_NAME = '_global_search ' ;
24
27
25
28
final public const GLOBAL_SEARCH_QUERY_PROPERTIES_PARAMETER_NAME = '_global_search.properties ' ;
You can’t perform that action at this time.
0 commit comments