Repository navigation
Group by Blocked Status #3965
Replies: 5 comments 4 replies
Is the code really limited to only tasks that are in the query?tl;dr No.
I don't see how that could possibly be the case. See Values for Query Search Properties . (With hindsight, adding that to What might be going on?How does Looking at https://publish.obsidian.md/tasks/Scripting/Task+Properties#Values+for+Task+Dependencies
Takes us to: https://publish.obsidian.md/tasks/Queries/Filters#Blocked+Tasks
I think the answer lies in the highlighted text in the image above. Most likely "only direct dependencies are considered". |
|
Hi @claremacrae, Thank you for taking the time to respond so promptly. And more importantly, thank you for such a fantastic plugin. I run my life thanks to this. I am not really sure what to say to this though as I can easily reproduce the issue I have described. Let's create an Obsidian note with the following structure: As can be seen in the above screenshot, the task |
|
Have you got any other tasks in your vault using the same Please add this to the top of your test note, and then share the |
|
Here's the output: I am on the following versions:
|




Uh oh!
There was an error while loading. Please reload this page.
I am trying to write an query which will display tasks grouped by whether they are blocked or not:
My query is something as below:
But this query doesn't work as expected for tasks that are blocked by tasks that aren't in the query.
For example, let's say we have a Task A which is blocked by Task B. If only Task A is included in this query but Task B is not, then though Task A is actually blocked, it will be grouped as 'Not Blocked'. If Task A and B are both included in the query, this grouping works fine.
Is there any way to check if the task is actually blocked or not without needing to send in an array of tasks to compare against?
All reactions