Hi @Siferiax,
thanks, I have a 2/3 solution with your Task that have specific page reference. Where I do not succeed is to add a search for a specific tag:
#+BEGIN_QUERY
{:title [:h3 "Find TODOs with '@mn' AND '#talk'" ]
:query [:find (pull ?b [*])
:where
[?p :block/name "@mn"] ; name is always lowercase
[?b :block/refs ?p] ; this block references ?p as oppose to being on ?p through :block/page.
[?b :block/marker "TODO"]
[?t :block/name "talk"] ; where/how to I use the "(and ...)"
]
}
#+END_QUERY
This works but does not link the 3 criteria via AND so some TODOs contain “talk” others only “mn” not.
In any case, thanks a lot for you help!