evershopcommerce / evershop

🛍️ NodeJS E-commerce Platform
https://evershop.io/
GNU General Public License v3.0
4.5k stars 1.24k forks source link

[BUG]: Search it's sensitive to accents or special characters #665

Open teparuiz opened 2 weeks ago

teparuiz commented 2 weeks ago

Describe the bug

The problem is in the filter:

accents sensitive

Should be:

accents insensitive

When I search for a keyword like "Hígado," it works. However, if I search for "higado" (without the accent), no results are found.

In Spanish, it’s common to use accents, but sometimes people type the word without accents, such as "Hígado" versus "higado." Unfortunately, the search currently doesn’t return results for words that lack the accent. I need the search to be insensitive to accents and other special characters.

Search word with accent image

Search the same word without accent image

Background (please complete the following information):