-
Notifications
You must be signed in to change notification settings - Fork 62
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
Email/Query support combination of filters with the FilterOperator (AND, OR, NOT) #3725
Comments
How this combines with inMailboxes, notInMailboxes filters? What do we actually allow here? |
I don't see any issue regarding this, do you have specific examples? |
Is implicit AND handled in this ticket? for example
|
The worst example I see regarding this is:
If message1 is in mailbox1 and mailbox2, I guess this filter should return message1 as it is in mailbox1, and it is also in a mailbox other than mailbox1. |
(I think it should be handled here, and I also think your example is misleading as no email will match both of these contraint. We will likely forbid to specify inMailbox & inMailboxOtherThan at the same time) |
My example is perfectly valid, don't forget that "inMailboxOtherThan" is different of "notInMailbox". It's not the same meaning. In this case
would simple return all emails that are at least present in mailbox1. In this specific case "inMailboxOtherThan" is useless but think of it as a way to exclude trash/spam folder for some search. |
implicit AND is handled into #3714 |
WHY
As an user i want to be able to build complex query using the FilterOperators (AND, OR, NOT)
###HOW
This should be handled in the Json reads. And build a tree which have nodes being FilterOperator and leaf being FilterConditions.
DOD
The text was updated successfully, but these errors were encountered: