Sort facet items based on language accent

Created on 4 June 2018, over 6 years ago
Updated 4 February 2024, 11 months ago

I have taxonomy term Ácaros. This term is showing at last in facet.
all facet items starting form A-Z are shown before Ácaros if I sort in ascending order.
My site is in Spanish language and just want to use accent Á for letter A.
Is there any way where I can configure that ?

Suggestions are welcome!!

Thanks,
Shivanand G.M.

BEFORE PATCHING LOOKS LIKE THIS:

AFTER FIX WORKS GREAT LIKE THIS:

SOLUTION:

Remove the accents and replace with ASCII-US character prior to comparing their binary sort value.
See illustrations

Feature request
Status

Needs review

Version

1.5

Component

Code

Created by

🇮🇳India shivamitakari

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024