From 748091798a5dc6addf95a0617544eeaafae6fde2 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Wed, 8 Dec 2021 13:56:15 +0100 Subject: [PATCH] Bug 29393: Sort notice templates by name Signed-off-by: Matthias Le Gac Signed-off-by: Martin Renvoize Signed-off-by: Katrin Fischer --- Koha/Template/Plugin/NoticeTemplates.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/Template/Plugin/NoticeTemplates.pm b/Koha/Template/Plugin/NoticeTemplates.pm index a1a1eaa7b2..e49ea4c08e 100644 --- a/Koha/Template/Plugin/NoticeTemplates.pm +++ b/Koha/Template/Plugin/NoticeTemplates.pm @@ -29,7 +29,7 @@ sub GetByModule { return Koha::Notice::Templates->search( { module => $module }, - { group_by => 'code' } + { group_by => 'code', order_by => ['name'] } ); } -- 2.39.5