obsidian-task-archiver
obsidian-task-archiver copied to clipboard
Adding metadata breaks tasks-plugin queries
I'm using the default "metadata to append":
π [[{{date}}]] πΈοΈ {{headingChain}}
I archived this task today:
- [x] Test π
2024-02-23 β
2024-02-23 π [[2024-02-23]] πΈοΈ Inbox
I expect this taks to appear in this tasks
query:
done on 2024-02-23
It doesn't. Removing the added metadata, or moving it right after the task text solves the problem.
Any idea is very welcome.
Probably a tasks thing, opened a ticked there. https://github.com/obsidian-tasks-group/obsidian-tasks/issues/2673
It seems that the tasks behavior is on intention (probably for performance reasons). Wouldn't it be possible, to extend the Task-Archivers "Append some metadata ..."-feature with the option to define where the metadata shall be added? If one was able to set the meta data to be added at the beginning of the task the task-queries would not break.
eg.
- [x] Test π
2024-02-23 β
2024-02-23 π [[2024-02-23]] πΈοΈ Inbox
could optionally become:
- [x] π [[2024-02-23]] πΈοΈ Inbox Test π
2024-02-23 β
2024-02-23
or even better before the tasks-dates:
- [x] Test π [[2024-02-23]] πΈοΈ Inbox π
2024-02-23 β
2024-02-23
BTW even without the add-metadata-feature (which is unfortunately currently not usable together with the tasks-plugin) the Task-Archiver is a great plugin that makes daily work much more easier when working with lots of recuring tasks. THANKS!