Nope, still doesn’t work as it should. I copy-pasted your suggestion exactly as you posted it in a new section. I have a note with the following front matter:
Tags: [ people/nitsa ]
Type:
Status:
Time:
Due:
Priority:
Completed:
Notes:
As soon as I mark the page completed with “Completed: Yes”, it doesn’t show up in the list, as it should.
To be crystal-clear, the above is precisely the front matter in a note. I’m using the query you provided:
LIST
FROM #people/nitsa
WHERE (Completed = "No" OR !Completed) AND (!Priority OR !Due)
SORT Due ASC
I’ve added values on each of those parameters to test them. NOT combinations as in Due and priority set at the same time, but each parameter tested on its own with the query you provided.
Due rule testing:
Empty: The page appears in the list.
Has proper value (date): The page appears in the list.
Has improper value (test, Batman, halp!): The page appears in the list.
Priority rule testing:
Empty: The page appears in the list.
Has proper value (High/Medium/Low): The page appears in the list.
Has improper value (Hello, test, helpme, 123): The page appears in the list.
Completed rule testing:
Empty: The page appears in the list.
Has value “No”: The page appears in the list.
Has improper value (Hello, test, Batman, whoa): The page DOESN’T appear.
Has value set to “Yes”: The page DOESN’T appear.
Does the same happen in your vault if you create a note with the front matter I’m using and try out your query? This is driving me crazy. I know your simplified and direct query should work. But it doesn’t.
I should add that I’ve also tried two tweaked versions of your query. The first one changed the “AND” to “OR”, since the tests above meant I’d be checking against each parameter. The query…:
LIST
FROM #people/nitsa
WHERE Completed="No" OR !Completed OR !Priority OR !Due
SORT Due ASC
…should show the particular note ONLY if:
- Completed was set to “No”
- Completed had no value/was unset.
- Priority was unset.
- Due was unset.
Am I right in that? Well, again, it-didn’t-work. And I must stress we’re talking about a note that contains only the front-matter I posted above, as well as a line or two of plaintext for testing. No other values/parameters. No tasks. Nothing.
Am I missing or “not getting” something?