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 in contacts should not take accents into account #3742

Open
esope opened this issue Apr 14, 2022 · 1 comment
Open

Searching in contacts should not take accents into account #3742

esope opened this issue Apr 14, 2022 · 1 comment

Comments

@esope
Copy link

esope commented Apr 14, 2022

🚀 Feature request: Searching in contacts should not take accents into account

📝 Description

Suppose you have a contact with first name "André" and last name "Trémieux".
If you use the search feature, and type "Andre" or "Tremieux" you will not find your contact.
This makes searching for contacts quite difficult in languages where accented letters are widely used.

📝 Describe the solution you'd like

Having the search feature ignore the accented letters (i.e., consider that "é" and "e" are the same for example) would be a great plus!

📝 Describe alternatives you've considered

Do not use accented letters at all... but that would be a shame.

@pholat
Copy link
Contributor

pholat commented Apr 25, 2022

It's plausible, but please do not expect us to implement it right away :)

Searches are based on sqlite3 matches in db. Therefore for this case, we would have to:

  1. add a list of accents for each language
  2. use regexp instead of string match in db

Reported for our internal reference: https://appnroll.atlassian.net/browse/MOS-414

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

No branches or pull requests

2 participants