ivan-lednev / obsidian-task-archiver

Archive completed tasks in your Obsidian vault (plus other org-mode-like features)
MIT License
109 stars 12 forks source link

[duplicate] BUG: if sub-header has name of file in it then archiver sees no tasks #81

Closed JoeHCQ1 closed 7 months ago

JoeHCQ1 commented 7 months ago

Given a markdown file named Tasks, if the next header is ## General Tasks then when the archiver is run it sees no tasks to archive.

If you rename that header to ## General Stuffs then the archiver sees and archives all checked tasks as expected.

Something about the re-use of the filename and/or first-level header (the file name at least appears to automatically be my first-level header) in a subsequent header appears to be causing the archiver to see none of the completed tasks, perhaps because it is terminating the search too early.

## General Tasks
- [x] some finished task that's totally not being seen 
JoeHCQ1 commented 7 months ago

Looks like this is a repost of #77