-
-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to implement a generic Filter #1199
Comments
I opened a PR for this #1212 instead of adding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: