Hi, all. Newbie here, but I’m learning fast.
The query below works well to give me TODO s due today or earlier, sorted by scheduled date without breadcrumbs. Is there any way to add a link to the page that the todo is coming from at the end of each TODO?
#+BEGIN_QUERY
{ :query [:find (pull ?b [*])
:in $ ?duetoday
:where
[?b :block/marker ?m]
[(contains? #{"TODO" "NOW"} ?m)]
[?b :block/scheduled ?d]
[(<= ?d ?duetoday)]
(not [?b :block/priority ?p])]
:inputs [:today]
:result-transform (fn [result]
(sort-by (fn [h]
(get-in h [:block/scheduled])) result))
:breadcrumb-show? false}
#+END_QUERY