8000 [bug] Tasks not indexed or queryable in a file without other preceeding text · Issue #92 · blacksmithgu/datacore · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[bug] Tasks not indexed or queryable in a file without other preceeding text #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact it 8000 s maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
gtg922r opened this issue Mar 13, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@gtg922r
Copy link
gtg922r commented Mar 13, 2025

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:

  1. Create a new sandbox vault. Delete all files
  2. install BRAT and then add Datacore via brat
  3. Create new file. Add a single line:
- [ ] Task to do this thing!
  1. in console, run app.plugins.getPlugin('datacore').api.query('@task')
    > []
  2. Add a new line with any text above checlist, for example
test
- [ ] Task to do this thing!
  1. app.plugins.getPlugin('datacore').api.query('@task')
    > [_MarkdownTaskItem]
@GamerGirlandCo GamerGirlandCo added the bug Something isn't working label Apr 19, 2025
@GamerGirlandCo
Copy link
Collaborator

i remember running into this issue myself. will look into it tomorrow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
0