Forums

Discuss all things Remember The Milk.

menu

Parentheses

lizzo1973 says:
When do I need to use parentheses in creating a smart list or task? I’ve noticed sometimes they have them and sometimes they don’t?

Example:
tag:na AND tag:@home) AND ((due:never) OR (isRepeating:true AND due:today)
Posted at 8:16pm on February 12, 2019
andrewski (Remember The Milk) says:
Hi lizzo1973,
You can use parentheses to group search conditions, which I recommend any time you combine ANDs and ORs to make sure the search is grouping the conditions the way you want.

In your example, I would add parentheses like so:

tag:na AND tag:@home AND (due:never OR (isRepeating:true AND due:today))

That way you get the last set of conditions to find exactly what you want: "I am looking for any tasks without a due date or any that are both repeating and due today."

Hope this helps, but keep me posted on what you find.
Posted 14 weeks ago
lizzo1973 says:
Thanks that helps! I will try to fix a few and see if I can get the right combination.
Posted 13 weeks ago
andrewski (Remember The Milk) says:
Sure thing! Let us know if we can help tweak any searches or help come up with any combinations for your needs.
Posted 13 weeks ago
This topic has now been closed automatically due to a lack of responses in the past 90 days.