]> git.koha-community.org Git - koha.git/commit
Bug 32127: Sort by description in Koha::Template::Plugin::Categories
authorFridolin Somers <fridolin.somers@biblibre.com>
Mon, 7 Nov 2022 21:42:49 +0000 (11:42 -1000)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 5 May 2023 22:16:00 +0000 (22:16 +0000)
commite773f7620ef47c2e0bdcb4398c24a0ff4a544697
tree9bda23e3f4529578561a561513ae7ccd0af5c337
parent078324588251cdfe6d10bb1970079d60d5d070b6
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

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 4f37c5bc7710619f297c356a7b19aa1767de7071)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
(cherry picked from commit 79e0674da62daf618d15da158117b69ab3bb413b)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/Template/Plugin/Categories.pm