[Koha-bugs] [Bug 29922] Group of libraries are now displayed in alphabetical order

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 7 17:40:53 CET 2022


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

--- Comment #11 from The Minh Luong <the-minh.luong at inlibro.com> ---
Created attachment 131444
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131444&action=edit
Bug 29922: Sorting works for accents

This patch sorts groups of libraries in alphabetical order, with the accents
too.
I've used the setlocale() function to set the ordering for comparison
(LC_COLLATE) to the one used in french language.

TO TEST:
1. Follow the steps in the previous patch
NOTE: Have some groups of libraries that starts with accented letters (ex.
ÉGroup, ÄGroup, ...)
2. Go in the OPAC, then Advanced search and click on the "Groups of libraries"
dropdown.
3. Notice that the groups are sorted in alphabetical order.
NOTE: Accented groups are sorted too !

Although this patch can sort the groups as described, I have read that locale
might not be available on all computers.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list