I need a query like {{query (task now)}}
that shows all NOW
tasks other than the ones scheduled for future.
So tasks for previous days, today and unscheduled are ok.
would appreciate any help <3
Welcome. Try an advanced query like this one:
#+BEGIN_QUERY
{:inputs [:today]
:query [:find (pull ?b [*])
:in $ ?today
:where
[?b :block/marker ?marker]
[(contains? #{"NOW"} ?marker)]
(not
[?b :block/scheduled ?scheduled]
[(> ?scheduled ?today)]
)
]
}
#+END_QUERY
1 Like