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'] } ); }