[Koha-bugs] [Bug 32127] Sort patron categories by description in templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Nov 7 22:50:57 CET 2022


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

--- Comment #1 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 143382
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143382&action=edit
Bug 32127: Sort by description in Koha::Template::Plugin::Categories

Like in Koha::Template::Plugin::Branches, methods in
Koha::Template::Plugin::Categories must return categories sorted by
description.

Test plan :
1) Create a new patron category with code ZZZ and description AAAAAA
2) Go to patron search /cgi-bin/koha/members/members-home.pl
3) Look at filter by category :
=> Without patch the value AAAAAA is last
=> With patch the value AAAAAA is first
4) Click on 'New patron'
=> Without patch the value AAAAAA is last
=> With patch the value AAAAAA is first

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


More information about the Koha-bugs mailing list