How to search at a specific level only

Hey :waving_hand:,

My to-do lists often contain child bullets with information about the task to be performed. This results in something like this:

-  [ ] Task 1
*due: 2025-08-24*
    - Additional details
-  [ ] Task 2
*due: 2025-08-24*
-  [ ] Task 3

In the notes, I add the due dates for the tasks. I would like to be able to search for tasks that do not have a due date. However, when I search -due, it performs a search at all levels. This gives me the following result:

-  [ ] Task 1
*due: 2025-08-24*
    - Additional details
-  [ ] Task 3

Even though Task 1 has a due date, it still appears because the child bullet does not have a due date. I would prefer not to see Task 1 when conducting a search.
Is it possible to search only the first-level bullets?

If you use

is:to-do -due

Doesn’t work?

3 Likes

The hierarchy (parents) of nodes found in a search are displayed in the search results is how it works today. There is a bookmarklet that will flatten search results, show only nodes that reflect the search. Be sure to restore to not flattened after using.

1 Like

Thank you, that hadn’t crossed my mind. :man_facepalming:
I’ll opt for that.

1 Like