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

Searching tag by description doesn't work when using diacritics #9613

Closed
BrunoBlanes opened this issue Jun 27, 2022 · 2 comments
Closed

Searching tag by description doesn't work when using diacritics #9613

BrunoBlanes opened this issue Jun 27, 2022 · 2 comments

Comments

@BrunoBlanes
Copy link
Contributor

NetBox version

v3.2.4

Python version

3.10

Steps to Reproduce

  1. Create a new tag with a description containing diacritics, e.g.:
{
    "Tag": "ES",
    "Description": "Espírito Santo"
}
  1. Try searching for the tag using the normalized word "espirito", you won't find it.

Expected Behavior

As per #8629, I expected support for diacritics with normalization for when using search.

Observed Behavior

— No tags found —

@BrunoBlanes BrunoBlanes added the type: bug A confirmed report of unexpected behavior in the application label Jun 27, 2022
@jeremystretch
Copy link
Member

As per #8629, I expected support for diacritics with normalization for when using search.

This is expected behavior, as Espírito and espirito are evaluated differently in the database. However, you're welcome to submit a feature request documenting your use case and proposed implementation.

@jeremystretch jeremystretch closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2022
@jeremystretch jeremystretch removed the type: bug A confirmed report of unexpected behavior in the application label Jun 28, 2022
@BrunoBlanes
Copy link
Contributor Author

I mean, I expected them to be different database-wise, however I also expected search to use a normalized form for search optimization.
You don't always input accents when searching, it is an additional key press and you might have a doubt about whether there's an accent or not in a word, but most importantly, if you use an en-us keyboard, you just can't find tags with diacritics in an optimal way.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants