Thank you so much! I really appreciate your offer for custom code. In fact, I need to copy the results of the following advanced query:
#+BEGIN_QUERY
{:title "🔙 All Backlinks in Current Page"
:inputs [:query-page]
:query [
:find (pull ?refpage [:block/name]) ; only care about block name
:in $ ?current
:where
[?b :block/refs ?refpage] ; blocks with references
(not [?refpage :block/journal-day]) ; not a journal
[?p :block/name ?current] ; get current page
[?b :block/page ?p] ; block must be on current page
]
:view (fn [res]
[:ul (for [row res]
[:li [:a {:href (str "#/page/" (:block/name row))} (:block/name row)]]
)])
}
#+END_QUERY