Bugzilla – Attachment 118502 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.18 KB, created by
ByWater Sandboxes
on 2021-03-19 10:06:48 UTC
(
hide
)
Description:
Bug 26940: Take empty strings into account
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2021-03-19 10:06:48 UTC
Size:
1.18 KB
patch
obsolete
>From 150892c5de820cc987f9ab8dee9306cbc826b945 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> >--- > 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.11.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 26940
:
113119
|
113123
|
113653
|
113702
|
113779
|
118500
|
118501
|
118502
|
119778
|
119779
|
119780