Queries with more than two conditions in parentheses don't work
My "Start page" uses the query "today, tomorrow, overdue." I was overjoyed when you added the ability to filter by negated label (the some_condition & !@some_label syntax). But sadly, these two don't seem to work together, as:
(today, tomorrow, overdue) & !@work
doesn't do any filtering. Darn!
Note that it isn't just the negation; this doesn't work either:
(today, tomorrow, overdue) & @work
However, after a little playing around I noticed that this *does* work:
(today, tomorrow) & !@work
as does any combination of *two* items in the parentheses.
So, it appears that something about the way the parentheses are implemented limits the functionality to two items. Is this by design? If so, it seems like an odd (and unfortunate) choice.
Thanks so much for the expanded query syntax in general -- it's very useful and much appreciated. Removing this limitation would make it even more useful.
Asked by Douglas G. Dirks on Jul 29, 2013 - 16:50
Please try this:
(od & !@work) | (tod & !@work) | (tom & !@work)
The (today, tomorrow, overdue) filter is "stretching" the boundaries of the "traditional" comma separation. The new syntax prefers the use of the "pipe" character - | as OR so combining the comma-separated dates with the new syntax may cause this problem.