https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36947
David Cook <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #168488|0 |1 is obsolete| | --- Comment #56 from David Cook <[email protected]> --- Created attachment 170489 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=170489&action=edit Bug 36947: Do a locale-based sort for ES facet names This change uses a configurable locale-based collator to sort the ES facet names. Test plan: 0. Apply the patch 1. vi /etc/locale.gen 2. Uncomment the locale you want to generate (e.g. fi_FI.UTF-8 UTF-8) 3. locale-gen 4. vi "/etc/default/koha-common" 5. Add the following to the bottom of the file: export LC_ALL=fi_FI.UTF-8 6. koha-plack --restart koha-common 7. Setup some test records with authors with accented and unaccented names, and different cases for the lead letter e.g. Aa author, Åa author2, aa author, étienne 8. Switch to using Elasticsearch and reindex koha-elasticsearch -b -v --rebuild kohadev 9. Do a test search e.g. http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=test 10. Confirm the facet names are sorted in ascending order following Finnish collation rules e.g. aa author Aa author étienne Farley, David Humble, Jez Martin, Robert C. Åa author NOTE: Any collation and language can be used. Finnish is just an example of a Latin-based script which has a different alphabetical ordering than just A-Z -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
