Hello everyone,
I would like to adapt the Logseq Documents example for querying for pages with a certain tag
{:title "All pages have a *programming* tag"
:query [:find ?name
:in $ ?tag
:where
[?t :block/name ?tag]
[?p :block/tags ?t]
[?p :block/name ?name]]
:inputs ["programming"]
:view (fn [result]
[:div.flex.flex-col
(for [page result]
[:a {:href (str "#/page/" page)} (clojure.string/capitalize page)])])}
#+END_QUERY
Instead of having just the programming tag, I would like to refine the results to having 2 tags, “programming” and “priority”
Additionally I would like to know how I can use an advanced query for a page with the tag “programming” and status “ongoing”
Thank you in advance