Three questions about tags #9198
-
I wonder if there is a way to do a search for tags? Say I want to search for the tags "apples" AND "oranges". Or tags "bananas" OR "pears". What if I want to search for "cherries" as a word somewhere in my database, but not the tag "cherries"? Or the opposite of this. Also what if I would like to see all entries that do not have any tags? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Here are some searches you can try:
More information: https://keepassxc.org/docs/KeePassXC_UserGuide.html#_searching_the_database |
Beta Was this translation helpful? Give feedback.
-
Thank you for the hints. I tried them out on my database, but 1 and 2 don't give me the right answers. Number 3 works correctly. Pity about number 4. I have to go through a large number of entries in order to find which ones don't have a tag in order to adjust them as I like. Well, at least I'll have to do it only once! |
Beta Was this translation helpful? Give feedback.
-
Thank you for the additional information. The only thing that I can think of is that one of my real case tags consists of two words. I put it in double quotes, like tags:"Fruit salad". I don't know if this makes a difference as far as the first case is concerned when both tags should exist for the result to be true. In my actual database I have 23 entries with the tags Fruit salad and apple and three entries with the tag Fruit salad only. My query tags:apple tags:"Fruit salad" returns 26 results. Shouldn't I be seeing only 23 results for the query to be correct? Please note that if I search for the two words tag say, tags:"Fruit salad" I get 26 results which is correct. |
Beta Was this translation helpful? Give feedback.
Here are some searches you can try:
Find entries with both tags:
tag:apples tag:oranges
Find entries with either tag:
*tag:bananas|pears
Just type in cherries to search the word, tags are not part of the default search fields. You can also explicitly exclude entries with the cherries tag using:
!tag:cherries
To find entries without tags:
!tag:*
More information: https://keepassxc.org/docs/KeePassXC_UserGuide.html#_searching_the_database