https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36947 --- Comment #41 from David Cook <dcook@prosentient.com.au> --- (In reply to Lari Strand from comment #40)
I like alternative 2, Do a locale-based sort for ES facet names" best as well. We actually implemented this in our production environment with
I'm so happy to hear that!
my $coll = Unicode::Collate::Locale->new( locale => "fi_FI" );
and using it in the sorting phase, just to avoid making adjustments to our 9 production environments which run different consortiums' Koha installations in parallel, I was lazy :D.
I misread your comment and thought that you meant that you wanted to use different locales for different Koha instances on the same server, but I see you wanted to use "fi_FI" for all 9 environments, so hard-coded it. I understand now! But it does make me think how maybe a person would want to use a different locale for a different instance. I'm thinking that we should add a "locale" configuration parameter in koha-conf.xml. If it's empty, then we default to LC_COLLATE. Otherwise, we use the "locale" in koha-conf.xml. Or maybe it should be an environmental variable that we can set in the Apache configuration, so that different OPACs can provide different values. -- I suppose my ideas here are all extensions of this base idea though, and there's no reason not to proceed with "Alternate 2" as it currently stands... -- You are receiving this mail because: You are watching all bug changes.