Hi there,
I am working on a Query to find all blocks with a certain tag “project” and a “TODO” or “WAITING”…however I cannot get any results for “WAITING”. It works perfectly fine when I switch “WAITING” to “DONE”…
Any help on how to find stuff for the #WAITING tag?
#+BEGIN_QUERY
{
:query [
:find (pull ?b [*])
:where
[?p :block/name “project”]
[?b :block/path-refs ?p]
[?b :block/marker ?marker]
(or [(contains? #{“TODO”} ?marker)] [(contains? #{“WAITING”} ?marker)])
]}
#+END_QUERY