Skip to content
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

Chain AND searches #255

Open
willslater opened this issue Jul 8, 2021 · 0 comments
Open

Chain AND searches #255

willslater opened this issue Jul 8, 2021 · 0 comments

Comments

@willslater
Copy link

I cannot find find a way, and docs don't seem to suggest its possible, but is there a way to chain searches?

Simple example:
I have a table with active and geo columns. Both BooleanColumn and work with external button searching on true/false/null. All work fine however it builds query like Q(active=True) OR Q(geo=True).

Is there a way to override default and get Q(active=True) AND Q(geo=True)? So that I am able to see active rows that also have geo.

@willslater willslater changed the title Chain searches Chain AND searches Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant