Can I ignore accents for suggestions in nuxeo-directory-suggestion?

Hello, I have this entry in my directory : “Evénement”,“Evénement”, “0”,“0”. And in the metadata layout I defined a nuxeo-directory-suggestion that pointed in that directory. My question is : Is it possible to ignore accents for suggestions in nuxeo-directory-suggestion? That is if the user writes “évé” or “evé” or “Evé”, the nuxeo-directoey-suggestion displays “Evénement” as a suggestion? Regards,

0 votes

1 answers

867 views

ANSWER



Hello,

I would use the queryResultsFilter method here to generate all possible keywords: https://doc.nuxeo.com/nxdoc/how-to-filter-data-in-directory-suggestion/#using-the-queryresultsfilter-parameter

Regards

0 votes