I am using below query to find all the TODOs which have a deadline of today but I want to write it in such a way so that even if Task is Done it should be visible and I want all the queries which have a deadline within next days. Please help me if someone can
#+BEGIN_QUERY
{:title [:h2 "⏰ Deadline Today"]
:query [:find (pull ?block [*])
:in $ ?day
:where
[?block :block/deadline ?d]
[(= ?d ?day)]
(or-join [?block]
(and
[?block :block/marker ?marker]
(not [(contains? #{"DONE" "CANCELED"} ?marker)])
)
(not [?block :block/marker])
)
]
:inputs [:today]
:breadcrumb-show? false
}
#+END_QUERY