- Issue created by @jan kellermann
- @jan-kellermann opened merge request.
- Status changed to Needs review
about 1 year ago 8:44am 3 November 2023
A glossary A-Z with transliterated first letters is often required. It is possible to change the first letter using βhook_alterβ (see #3035279 https://www.drupal.org/project/search_api_glossary/issues/3035279 π¬ German Umlaut / special characters Needs review ), but you need a patch and it does not contain all the special characters.
Use the patch from #3035279 and try the string α§αααααα.
Add an option for transliteration and use the Drupal transliteration.
Review the commited patch.
Added a checkbox for transliteration for each field.
API is unchanged. (BTW: I would suggest to give $source_value as context-parameter to the hook-alter).
I changed the 2nd parameter for glossaryGetter() to whole field config array.
The config array changed.
Needs review
4.0
Code