[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
Sun Jul 3 00:34:21 CEST 2022


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #136612|0                           |1
        is obsolete|                            |

--- Comment #14 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 137045
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137045&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.

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

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


More information about the Koha-bugs mailing list