[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 Jun 27 17:32:03 CEST 2022


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

--- Comment #13 from Shi Yao Wang <shi-yao.wang at inLibro.com> ---
Created attachment 136612
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=136612&action=edit
Bug 29922: Make get_search_groups return results sorted by title

get_search_groups from Koha/Library/Groups.pm returns library groups sorted by
title.

Test plan:
1- Go to administration > library groups and create multiple library groups
with different names (e.g. AGroup, BGroup, ÄGroup, etc.). Make sure to tick
"Use for OPAC search groups" checkbox.
2- Go to advanced search in OPAC.
3- Under "Groups of librairies" , click the select button.
4- Notice that the library groups are not in alphabetical order.
5- Apply the patch.
6- Notice that the library groups are in alphabetical order.
7- Run `prove t/db_dependent/LibraryGroups.t` and all test should pass.

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


More information about the Koha-bugs mailing list