From 2398c02ae005ed2bdf614a78266ca990619e2b7e Mon Sep 17 00:00:00 2001 From: Borja Robert Date: Fri, 8 Mar 2024 10:18:32 +0100 Subject: [PATCH] Auto saved by Logseq --- logseq/config.edn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/logseq/config.edn b/logseq/config.edn index efc896b0..e44df36d 100644 --- a/logseq/config.edn +++ b/logseq/config.edn @@ -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