Skip to content
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

DQL queries on date properties: empty != "" #2363

Open
mitchmeister opened this issue Jun 11, 2024 · 0 comments
Open

DQL queries on date properties: empty != "" #2363

mitchmeister opened this issue Jun 11, 2024 · 0 comments
Labels
bug Something isn't working.

Comments

@mitchmeister
Copy link

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 mitchmeister added the bug Something isn't working. label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

1 participant