In DataviewJS, how can I filter pages with a specific property / field that contains spaces? #2062
-
I did a bunch of looking up about this but didn't find answers. Let's say I have a properties like these in a note, both are valid texts properties:
And I have DataviewJS like this, that filters to only pages in the "Tasks" folder and its Status property is not "Waiting":
How could I add another filter in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I got a solution here to use |
Beta Was this translation helpful? Give feedback.
I got a solution here to use
p['Task Size']
inside.where()
. It turns out I didn't escape the quotes when writing it as an argument insidedv.view()
{key: "value"}
. It should've beenp[\'Task Size\']
. But honestly Dataview could use better stack tracking, and or I need to read it better.