Negative task search excludes files rather than blocks

Steps to reproduce

  1. Create a note with the following:
  • [[@Joe]] do the thing
  • Another task
  1. Use search plugin to find task-todo:("") -task-todo:"@"

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

Search results include - [ ] Another task but not - [ ] [[@Joe]] do the thing

Actual result

No results found

Environment

SYSTEM INFO:
Obsidian version: v1.6.7
Installer version: v1.6.7
Operating system: Darwin Kernel Version 23.5.0: Wed May 1 20:14:59 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8122 23.5.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

You should use

task-todo:-@

And It will work in version 1.7.

We do not support negation of the task* operator.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.