Tasks: BUG? (done on 2025-06-07) OR (cancelled on 2025-06-07) > group by status.type does not work

Steps to reproduce

I want to filter DONE or CANCELLED tasks and group them by status.type

```tasks
(done on 2025-06-07) OR (cancelled on 2025-06-07)
group by status.type
```

Actual result

Only the grouping title “DONE” is shown and “CANCELLED” tasks are not separated but appear in the list of “DONE” tasks.

Is this a bug?


  1. Bug reports here are for core Obsidian, not for community plugins. Plugin issues should be reported on their Github page. So this was moved to help.
  2. I edited your post to add 4 backticks around your 3-backtick code, so people can see this is a tasks query.

I don’t use the Tasks plugin, but the documentation says that both x and - status marks match “done”. Looks like what you want is “DONE”, which matches x but not -.