I have the following query:
#+BEGIN_QUERY
{:title [:h1 "Notas:"]
:query [:find (pull ?b [*])
:in $ ?today ?before
:where
[?b :block/refs ?r] ;; Pull blocks with references
[?r :block/name "notas"] ;; filter to blocks containing references to "notas"
[?b :block/page ?p] ;; get pages from ?b that contain the reference "notas" to ?p
[?p :block/journal-day ?d] ;; get journal pages only
[(< ?d ?today)] ;; reduce journal pages list to before current day
[(> ?d ?before)] ;; reduce journal pages list to after 7 days ago
]
:inputs [:today :-7d] ;; input today date and -7 days into :in
:group-by-page? false ;; group results by page
:breadcrumb-show? false ;; show page/block path to block
}
#+END_QUERY
Which renders the following:
I would like it to only display the child block.