I have a number of pages that contain blocks with properties that flag the block for follow-up at a specific meeting; the value for one of the properties is a reference to the page for that meeting. On the meeting page, I’d like to run a query that lists all of the blocks flagged for that meeting, but I can’t seem to get it to work. What I’ve tried so far is below. (I’m in my second day of using LogSeq and am new to the query language, so apologies if I’m missing something obvious )
#+BEGIN_QUERY
{:title "Agenda items tagged using current page"
:inputs [:current-page]
:query [:find (pull ?b [*])
:in $ ?current-page
:where
(property ?b :type "Agenda item")
(property ?b :status "open")
(property ?b :target-touchpoint ?current-page)
]
}
#+END_QUERY