docs icon indicating copy to clipboard operation
docs copied to clipboard

Tag search is not exact search

Open Crumar opened this issue 2 years ago • 3 comments

Situation: Version: v1.10 Deployment: Docker-Compose, using Portainer

I have two tags: -auto -auto-import

Actual behavior: On documents page, when I click in the hierarchy on auto, all files tagged with auto-import are also shown. This equates to filter "tag:auto".

Expected behaviour: Only show documents tagged with auto, not auto-import.

Crumar avatar Jan 16 '23 11:01 Crumar

this is a known issue for known feature. i personally like it to not fully type the tag to receive some filtered results, but in your case i understand. maybe we need some kind of filter syntax:

maybe we could use > to find this and more (its like searching docs for date range) tag>bla to find all things tagged with words like bla, blast, blablabla

and some explicite tag filter by using the : tag:bla to find all things tagged with words like bla only

vmario89 avatar Jan 16 '23 11:01 vmario89

Sounds good! I understand when for example using the search manually it may help a lot, but when navigating in the hierachy I'd expect to make an exact filter on tags.

Crumar avatar Jan 16 '23 11:01 Crumar

Just chiming in to say I'd be interested in this enhancement, the less the confusion for the users, the better. Depending of the implementation complexity I would find something like this pretty intuitive :

tag:bla (strict)
tag:*bla (suffix)
tag:bla* (preffix)
tag:*bla* (any)

chrisnoisel avatar Nov 03 '23 11:11 chrisnoisel