Bugzilla – Attachment 127847 Details for
Bug 29393
Ability to send emails from patron details page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29393 - Don't show notice templates for each language
Bug-29393---Dont-show-notice-templates-for-each-la.patch (text/plain), 865 bytes, created by
Alex Arnaud
on 2021-11-19 09:00:29 UTC
(
hide
)
Description:
Bug 29393 - Don't show notice templates for each language
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2021-11-19 09:00:29 UTC
Size:
865 bytes
patch
obsolete
>From cc8aaf34ebf8299704fe2e1308fba3962d6444d1 Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Fri, 19 Nov 2021 09:59:59 +0100 >Subject: [PATCH] Bug 29393 - Don't show notice templates for each language > >--- > Koha/Template/Plugin/NoticeTemplates.pm | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/Koha/Template/Plugin/NoticeTemplates.pm b/Koha/Template/Plugin/NoticeTemplates.pm >index fe6ed61..a1a1eaa 100644 >--- a/Koha/Template/Plugin/NoticeTemplates.pm >+++ b/Koha/Template/Plugin/NoticeTemplates.pm >@@ -27,7 +27,10 @@ use Koha::Notice::Templates; > sub GetByModule { > my ( $self, $module ) = @_; > >- return Koha::Notice::Templates->search({ module => $module }); >+ return Koha::Notice::Templates->search( >+ { module => $module }, >+ { group_by => 'code' } >+ ); > } > > =head1 NAME >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29393
:
127237
|
127238
|
127452
|
127506
|
127511
|
127847
|
128215
|
128216
|
128217
|
128218
|
128219
|
128363
|
148187
|
148188
|
148189
|
148190
|
148191
|
148192
|
148193
|
148194
|
149812
|
160107
|
160108
|
160109
|
160110
|
160111
|
160112
|
160113
|
160114
|
160633
|
160638
|
160639
|
165498
|
165499
|
165500
|
165501
|
165502
|
165503
|
165504
|
165505
|
165511
|
165512
|
165513
|
165514
|
165515
|
165516
|
165517
|
165518
|
165519
|
165520
|
165521
|
165522
|
165942