Find all tasks under blocks tagged with project namespaces?

Check out this post:

(Sorry doing this from a hospital bed on my phone :rofl: but thought I could at least point you in the right direction)

Omg, you’re my savior - this works perfectly. For whatever reason you’re in the hospital - I hope you get well soon! :blush::blush:

1 Like

Thanks. Had emergency surgery, but I’m back home and recovering just fine.

This thread is so helpful! I would like to sort the output by project - right now it is sorted by date of journal entry.

I tried adding:

:result-transform (fn [result]
                                 (sort-by (fn [h]
                                                  (get h :block/name)) result))

With no change

It outputs blocks, not pages. So we need to first get the page.
(get h :block/name)
Needs to be (get-in h [:block/page :block/name])

1 Like

@Siferiax can you please add that sort criteria into the original query and republish? something im not understanding - thank you!

Which query do you mean exactly? There is a bunch of queries posted in this thread and I’m not sure which you refer to.