https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36947

--- Comment #30 from David Cook <[email protected]> ---
Of course, there's always this 3rd option of using "Unicode::Collate::Locale",
which I've called "Alternate 2".

I think that I like this option best, as it's the most configurable. You can
just feed whatever locale you want into the object and then have it do the sort
for you.

In my patch, I have it fetch LC_COLLATE, but in the future we could base it off
of C4::Languages::getlanguage($cgi). There's options, and I like having
options.

I suspect in the future that there will be other places that we want to sort
using locale as well, and I think Unicode::Collate::Locale will be the most
portable for those situations.

--

Lari, I suspect that this will work for you better than the one using "use
locale". Please give it a try and let me know what you think.

-- 
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/

Reply via email to