Hi,
I am on the most recent version of logseq (happened in old versions as well), and have an overdue
query defined in my config.edn:
{:title "🔥 OVERDUE"
:query [:find (pull ?b [*])
:in $ ?today ?tomorrow
:where
[?b :block/marker ?m]
(not [(contains? #{"DONE", "CANCELED"} ?m)])
[(get-else $ ?b :block/scheduled ?tomorrow) ?scheduled]
[(get-else $ ?b :block/deadline ?tomorrow) ?deadline]
(or
; [(contains? #{"NOW", "DOING"} ?m)]
[(< ?scheduled ?today)]
[(< ?deadline ?today)])]
:inputs [:today 99990101]
:result-transform (fn [result]
(sort-by (fn [h]
(get-in h [:block/scheduled])) result))
:breadcrumb-show? false }]
}
which works fine, except it won’t update when the day changes (past midnight).
I have to restart the app daily to get to see my overdue items. What am I missing?
Posted this twice on discord (here and here), but got no replies there so I thought to put it here instead…
Thanks,
Shlomi