Modify default NOW journals query

Hello

in the default config file there is a query tp display all tasks created in journals in a NOW section of the current day journal.

I would need to adapt that script to take into accound tasks that are in all pages of logseq, not just the previous journals.

Can somebody help me with this ?
thank you very much

Jeano

Welcome. Try removing the relevant filtering conditions, by replacing this:

    :query [:find (pull ?h [*])
            :in $ ?start ?today
            :where
            [?h :block/marker ?marker]
            [(contains? #{"NOW" "DOING"} ?marker)]
            [?h :block/page ?p]
            [?p :block/journal? true]
            [?p :block/journal-day ?d]
            [(>= ?d ?start)]
            [(<= ?d ?today)]]
    :inputs [:14d :today]

…with this:

    :query [:find (pull ?h [*])
            :where
            [?h :block/marker ?marker]
            [(contains? #{"NOW" "DOING"} ?marker)]
            [?h :block/page ?p]
    ]

Thanks you very much @mentaloid !
Jeano