Closed Isengo1989 closed 3 years ago
SearchFilter works fine for me on (on a string
column). Maybe try using NumericFilter
, since you are using an integer
column?
It should work with integers though.
SearchFilter does not work for integer columns here. If I use NumericFilter, it works.
I had the same issue. The first filter work with REST and GraphQL. The second one works only with REST
@ApiFilter(NumericFilter::class, properties={"eleve.id": "exact" })
@ApiFilter(SearchFilter::class, properties={"eleve.id": "exact" })
I am using the SearchFilter Class on kw
It works fine on REST but not on GraphQL, because it is returning the full list