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

"status" field metadata queries no longer work #1233

Closed
d-imal opened this issue Jul 4, 2022 · 2 comments
Closed

"status" field metadata queries no longer work #1233

d-imal opened this issue Jul 4, 2022 · 2 comments
Assignees
Labels
bug Something isn't working.

Comments

@d-imal
Copy link

d-imal commented Jul 4, 2022

What happened?

I have a task metadata field named "status" and some queries that filter for status != "blocked" or status = "blocked". The queries used to work fine. But I just updated the plugin yesterday to 0.5.38 yesterday and the queries stopped working. I haven't updated in a few months, so I'm not sure what version it stopped working. If I change the field name to anything else, the queries work fine. So, if I change the metadata to [foo::blocked] and then query for foo = "blocked", the query works.

Seems like DV might have something special going on with metadata named status?

DQL

task where status = "blocked"

Returns 0 results, even though there are tasks with [status::blocked]

JS

No response

Dataview Version

0.5.38

Obsidian Version

0.15.3

OS

MacOS

@d-imal d-imal added the bug Something isn't working. label Jul 4, 2022
@AB1908
Copy link
Collaborator

AB1908 commented Jul 4, 2022

You are correct. status is a new metadata field at the task level. It contains the character inside the checkbox. It was implemented as part of #812 I think.

@d-imal
Copy link
Author

d-imal commented Jul 4, 2022

Thanks @AB1908! Looks like a cool feature.

@d-imal d-imal closed this as completed Jul 4, 2022
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

3 participants