Bug 29393: Sort notice templates by name

Signed-off-by: Matthias Le Gac <matthias.le-gac@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Alex Arnaud 2021-12-08 13:56:15 +01:00 committed by Katrin Fischer
parent f6b5ed8ee9
commit 748091798a
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ sub GetByModule {
return Koha::Notice::Templates->search(
{ module => $module },
{ group_by => 'code' }
{ group_by => 'code', order_by => ['name'] }
);
}