How to set desk shortcut filter with OR condition

Hello,

I want to set a shortcut filter with an OR condition.

For example:

{
"status": "Open" OR "Cancelled"
}

Which is the correct way to do it? I’m trying different things and I can’t get working.

Also, I can’t find it in frappe documentation.

Thank you very much.

1 Like

Hey @restos99 you can use format like this to get it done…

{
    "status": ["IN" , ["Need Verification","Active"]]
}

I think it will work, just give it a try :grin:

2 Likes

Thank you very much for your help.

Great,
How to use child table field in filter condition

u can mentioned two conditions
status = open
status = cancelled…

and this can also be mentioned in one line too…

How can we set up for AND Condition?