https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36947 --- Comment #27 from David Cook <dcook@prosentient.com.au> --- (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.
From "perllocale": "The default behavior is restored with the no locale pragma, or upon reaching
It was definitely working for me, and "use locale" is designed to be used within blocks (like this sub/function). 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.