datacore
datacore copied to clipboard
[bug] Tasks not indexed or queryable in a file without other preceeding text
If I create a blank new file with only checklist items, and no sections or other text, the checklist items don't seem to be added to the index, and are not queryable
Minimal steps to reproduce with Sandbox:
- Create a new sandbox vault. Delete all files
- install BRAT and then add Datacore via brat
- Create new file. Add a single line:
- [ ] Task to do this thing!
- in console, run
app.plugins.getPlugin('datacore').api.query('@task')> [] - Add a new line with any text above checlist, for example
test
- [ ] Task to do this thing!
app.plugins.getPlugin('datacore').api.query('@task')> [_MarkdownTaskItem]
i remember running into this issue myself. will look into it tomorrow
Any news on that bug ? 🥵
Any news on that bug ? 🥵
i think i've fixed it, see #114 :)