Hey there!
I am trying to create some custom queries for my daily journals but I am facing some issues. I am trying to fetch all the undone tasks tagged with the page “urgent”. However it’s not showing any result. This is the query:
#+BEGIN_QUERY
{
:query
[
:find (pull ?b [*])
:in $ ?today
:where
(task ?b #{"LATER" "DOING" "WAITING" "NOW"})
(page ?b #{"urgent"})
]
:inputs [:today]
}
#+END_QUERY
Thanks