Skip to content

In DataviewJS, how can I filter pages with a specific property / field that contains spaces? #2062

Closed Answered by Oneechan69
Oneechan69 asked this question in Q&A
Discussion options

You must be logged in to vote

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 inside dv.view() {key: "value"}. It should've been p[\'Task Size\']. But honestly Dataview could use better stack tracking, and or I need to read it better.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Oneechan69
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant