Bugzilla – Attachment 119780 Details for
Bug 26940
debarred comment in borrowers table is lost on patron modifications in memberentry.pl page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26940: Take empty strings into account
Bug-26940-Take-empty-strings-into-account.patch (text/plain), 1.25 KB, created by
Kyle M Hall (khall)
on 2021-04-16 18:13:57 UTC
(
hide
)
Description:
Bug 26940: Take empty strings into account
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-04-16 18:13:57 UTC
Size:
1.25 KB
patch
obsolete
>From d8a9ace4f6330e22f97aefca897b9f56d34f5cdc Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 18 Nov 2020 12:23:48 +0100 >Subject: [PATCH] Bug 26940: Take empty strings into account > >Signed-off-by: Katariina Hanhisalo <katariina.hanhisalo@xamk.fi> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > installer/data/mysql/atomicupdate/bug_26940.perl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_26940.perl b/installer/data/mysql/atomicupdate/bug_26940.perl >index a58d14a5e7..5a7999735c 100644 >--- a/installer/data/mysql/atomicupdate/bug_26940.perl >+++ b/installer/data/mysql/atomicupdate/bug_26940.perl >@@ -4,7 +4,7 @@ if( CheckVersion( $DBversion ) ) { > SELECT d.borrowernumber, GROUP_CONCAT(comment SEPARATOR '\n') AS comment > FROM borrower_debarments d > LEFT JOIN borrowers b ON b.borrowernumber=d.borrowernumber >- WHERE b.debarredcomment IS NULL AND ( expiration > CURRENT_DATE() OR expiration IS NULL ) >+ WHERE ( b.debarredcomment IS NULL OR b.debarredcomment = "" ) AND ( expiration > CURRENT_DATE() OR expiration IS NULL ) > GROUP BY d.borrowernumber > |, { Slice => {} }); > >-- >2.24.3 (Apple Git-128)
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 26940
:
113119
|
113123
|
113653
|
113702
|
113779
|
118500
|
118501
|
118502
|
119778
|
119779
| 119780