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

--- Comment #27 from David Cook <[email protected]> ---
(In reply to Lari Strand from comment #25)
> The locale based sorting is not working with this alternative commit. The
> perl module is announced inside the sub. I added use locale; to the
> beginning of the file and now the sorting works when Finnish locale is set.

It was definitely working for me, and "use locale" is designed to be used
within blocks (like this sub/function). 

From "perllocale":
"The default behavior is restored with the no locale pragma, or upon reaching
the end of the block enclosing use locale. Note that use locale calls may be
nested, and that what is in effect within an inner scope will revert to the
outer scope's rules at the end of the inner scope."

Were you testing in koha-testing-docker?

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