Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag search is not exact search #662

Open
Crumar opened this issue Jan 16, 2023 · 3 comments
Open

Tag search is not exact search #662

Crumar opened this issue Jan 16, 2023 · 3 comments

Comments

@Crumar
Copy link

Crumar commented Jan 16, 2023

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.

@vmario89
Copy link
Contributor

vmario89 commented Jan 16, 2023

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

@Crumar
Copy link
Author

Crumar commented Jan 16, 2023

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.

@chrisnoisel
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants