obsidian-dataview icon indicating copy to clipboard operation
obsidian-dataview copied to clipboard

DQL queries on date properties: empty != ""

Open mitchmeister opened this issue 1 year ago • 0 comments

What happened?

I'm sure this must have been raised before but I couldn't find an issue.

DQL queries on date properties where the property of the note has been "clear"-ed (which sets the property = "") exclude notes that are otherwise included when the property is empty.

The following is an example query affected by this issue.

DQL

WHERE 
contains(when, "nextWeek") OR
(contains(when, "scheduled") AND dodate > date(eow) AND 
 dodate <= date(eow) + dur(7 d))

JS

No response

Dataview Version

0.5.66

Obsidian Version

1.6.3

OS

MacOS

mitchmeister avatar Jun 11 '24 23:06 mitchmeister