By default, searching for tags or text will only show the bullet point where it was written and its parent points. However, in the use case scenario of placing tags in the headers of text, rather than in the body itself, it becomes much more difficult to view the contents of more than a handful of search results.
As an example, searching currently produces results like this:
The recently-added parent search term can perform this kind of auto-expanding without buttons. In Chris’s example above, you could search for parent:#TODO and it should show you all children of items tagged #TODO.
Clunky solution. In part because the “parent:” operator means that tag auto-completion is no longer available. Tag auto-completion in the search bar is something I find essential.
Use a space after entering the parent: or ancestor: element in the search bar, then when you begin typing a tag autocomplete is affective. Is this what you are referring to?
The “parent:” search operator only works to expand children ONE level below the line that matches the search term. Is there not a way to expand ALL children of the parent containing the searched term?
I just spent about and hour trying to get this to work in my list. If you leave a blank space after the colon sign (Parent: tag) it will still find the parent you are looking for, but it does not expand it. If you want the parent to auto-expand in your search (which I find very useful–just put the tag in the parent and then it is not necessary in every child item), DON’T put a space before the tag (Parent:tag).
Control Seeing a Search Result Collapsed vs Expanded (update for clarity)
Using “lowercase” parent: / ancestor: operators always EXPANDs the result, whether the criterion is separated with a space or not.
Example: parent: criterion vs parent:criterion
Using “Word Case”… Parent: / Ancestor: operators will COLLAPSE the result IF the *criterion is separated with a space.
I can’t seem to reproduce this consistently actually… I wonder if it’s a fluke of javascript due to the space, since search operators don’t have a space after the colon. So maybe it’s doing a search for nothing, and also a search for the term alone. And maybe theres a bug where some check doesn’t occur when in word case. Something funny like that.