I am trying to create a Task dashboard. When an item is DONE, I’d like to drag & drop it into the journal for today (presummable the day the task was completed). That way, DONE tasks are archved into the journal.
How can I write a query to embed in my Task dashboard to show the current day’s DONE tasks?
This is what I have so far, but it shows all DONE tasks.
#+BEGIN_QUERY
{:title [:h2 "Todays Done Tasks"]
:query [:find (pull ?b [*])
:where
(task ?b #{"DONE"})
]
}
#+END_QUERY