Hi,
I try to make a query with all the blocks with the tag +meeting
for the next 7 days ordered from the oldest to the newest date in journal. The query is in the +meeting
page.
I use this query, but it shows the result not in the way I need it (not a table and showing the blocks).
This is the code:
#+BEGIN_QUERY
{:title [:h3 "๐ Meetings 7 days"]
:query [:find (pull ?p [:block/name :block/journal-day])
:in $ ?start ?next
:where
[?p :block/name ?current-page]
[?p :block/journal-day ?d]
[(>= ?d ?start)]
[(<= ?d ?next)]
]
:inputs [:today :7d-after]
:result-transform (fn [result] (sort-by (fn [r] (get-in r [:block/name :block/journal-day])) result ))
:breadcrumb-show? false
:group-by-page? true
:table-view? false
:collapsed? false
}
#+END_QUERY
and this is the result
What is wrong?
Thanks in advance for your support!