|
|
|
@ -225,6 +225,23 @@
|
|
|
|
|
(get h :block/priority "Z")) result))
|
|
|
|
|
:group-by-page? false
|
|
|
|
|
:collapsed? false}
|
|
|
|
|
{:title "🗄️ Forgotten"
|
|
|
|
|
:query [:find (pull ?h [*])
|
|
|
|
|
:in $ ?start ?next
|
|
|
|
|
:where
|
|
|
|
|
[?h :block/marker ?marker]
|
|
|
|
|
[?h :block/page ?p]
|
|
|
|
|
[?p :page/journal? true]
|
|
|
|
|
[?p :page/journal-day ?d]
|
|
|
|
|
[(> ?d ?start)]
|
|
|
|
|
[(< ?d ?next)]
|
|
|
|
|
[(contains? #{"NOW" "DOING" "LATER" "TODO"} ?marker)]]
|
|
|
|
|
:inputs [:365d :14d]
|
|
|
|
|
:result-transform (fn [result]
|
|
|
|
|
(sort-by (fn [h]
|
|
|
|
|
(get h :block/priority "Z")) result))
|
|
|
|
|
:collapsed? true}
|
|
|
|
|
|
|
|
|
|
{:title "📅 NEXT"
|
|
|
|
|
:query [:find (pull ?h [*])
|
|
|
|
|
:in $ ?start ?next
|
|
|
|
|