Bugzilla – Attachment 165518 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: Prevent SQL errors when SQL strict mode is set
Bug-29393-Prevent-SQL-errors-when-SQL-strict-mode-.patch (text/plain), 1.06 KB, created by
Martin Renvoize (ashimema)
on 2024-04-25 11:01:24 UTC
(
hide
)
Description:
Bug 29393: Prevent SQL errors when SQL strict mode is set
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-04-25 11:01:24 UTC
Size:
1.06 KB
patch
obsolete
>From 4305bf6774718ae4eb5e716a73786b5322df3d58 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 18 Apr 2023 16:28:34 +0200 >Subject: [PATCH] Bug 29393: Prevent SQL errors when SQL strict mode is set > >Signed-off-by: Matthias Le Gac <matthias.le-gac@inlibro.com> >Signed-off-by: Phan Tung Bui <phan-tung.bui@inlibro.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Template/Plugin/NoticeTemplates.pm | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/Koha/Template/Plugin/NoticeTemplates.pm b/Koha/Template/Plugin/NoticeTemplates.pm >index e49ea4c08e2..894e3080fc8 100644 >--- a/Koha/Template/Plugin/NoticeTemplates.pm >+++ b/Koha/Template/Plugin/NoticeTemplates.pm >@@ -29,7 +29,11 @@ sub GetByModule { > > return Koha::Notice::Templates->search( > { module => $module }, >- { group_by => 'code', order_by => ['name'] } >+ { >+ group_by => [ 'code', 'name' ], >+ columns => [ 'code', 'name' ], >+ order_by => ['name'] >+ } > ); > } > >-- >2.44.0
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