Filter by certain level in tag hierarchy
That is, offer the option to filter by a tag and exclude notes tagged with children tags.
For example, one could ctrl+click on "#wiki" to include all notes tagged with "#wiki" but exclude notes tagged with "#wiki/fitness" or any other subtags.
As a search bar alternative, one could write "#wiki$" to achieve the same thing.
Comments: 6
-
16 Sep, '22
jejousThat would be extermely useful to me as well, it may apport a lot of clarity i think.
-
19 Feb, '23
CynthiaSI think this is very important. The hierarchy is critical. It's a valid use to tag something with the parent and not any of the children. Maybe your parent tag is very broad and you only have some more specific children tags to help organize. For example, I have a parent #travel tag with children for this reason. My general travel notes go in #travel; when I collect for a specific thing, I create the #travel/child tags.
As AN is today, I'd need to enter a very long search query with the parent and the not ^ operator for every child path. That's terrible and not sustainable.
The only workaround I can think of right now is to add a child tag, such as #travel/travel-general to use instead of tagging with the parent tag only. This is a silly thing to have to workaround like this. -
05 Sep, '23
jejousSame Here, i love Amplenote, but can't find a way to organize since this behavior. As suggested by mat i created a rootnote tag, or masternote tag, and i tag all notes in the "main" folder with it, then, when selecting, for example, project + masternote (with shift+click on tags) i can isolate the root project notes.
My 2cts suggestion : When ctrl+click on a tag it shows only the notes in the actual tag, and not subtags notes. -
22 Nov, '23
Lucian AdminCheck out the new entries in the help page, everyone: https://www.amplenote.com/help/search_filter_tags_groups#Search_query_syntax_for_filtering_by_tags
TLDR is to use the following syntax to search for all notes tagged with "my-tag" and not tagged with any subtags of "my-tag":
in:my-tag,^my-tag/ -
23 Nov, '23
jejousVery good news.. but this CTRL+Click don't work, right ?
-
04 Dec, '23
Lucian AdminHey Jejous! Do you mind clarifying what you mean by "ctrl-click" and "work"? 😅