Skip to content

Chain AND searches #255

@willslater

Description

@willslater

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions