Hi,
I need help with implementing a query for my task management system.
It’s all set up quite simply. There are projects, which are pages with the property type:: proj
.
Tasks are always written only on diary pages and are linked to projects via a reference, for example, TODO Task1 [[Project1]]
. From all the tasks in a project, one should be marked with the #next tag, like TODO Task1 [[Project1]] #next
.
I want to get an output, a list (or table, doesn’t matter) of tasks with the next tag, grouped by project.
Something like this:
Project1
[ ] Task for project 1 #next
Project2
[ ] Task for project 2 #next
And so on.
What’s important is that I want all projects to be included in the results, even those that don’t have tasks with the next tag. So that it’s clear that there’s no such task in the project and it needs to be created.
Is it possible to do this using an advanced query?
I have programming experience, but Datalog just drives me crazy.