You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to implement a generic filter that will allow me to filter by multiple possible values.
for example query fruits of a certain type with: /fruits?type=apple,banana,plum
this is the implementation that almost works, the only problem is that I would have to pass q="type__in" and this would not be generic.
I think that a q_suffix (I don't care about the name) would permit to make this generic by making the name of the field implicit.
I want to implement a generic filter that will allow me to filter by multiple possible values.
for example query fruits of a certain type with:
/fruits?type=apple,banana,plum
this is the implementation that almost works, the only problem is that I would have to pass
q="type__in"
and this would not be generic.I think that a
q_suffix
(I don't care about the name) would permit to make this generic by making the name of the field implicit.So did I miss something and is that already possible?
The text was updated successfully, but these errors were encountered: