How to query for tags and subtags in dataviewjs? #1856
Replies: 1 comment
-
https://forum.obsidian.md/t/dataviewjs-query-tag-and-all-its-subtags/57056/2 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A dataview query with
where !completed AND contains(tags, "book")
will include tasks with subtags and parents, such as #library/book/author
but what seems to be the corresponding dataviewjs query
task.tags.contains("book")
finds no tasks.How can one search for nested tags including their parents and children in dataviewjs?
Beta Was this translation helpful? Give feedback.
All reactions