Bugzilla – Attachment 112709 Details for
Bug 26032
Add 'is new' filter in items search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26032: (follow-up) Replace IFNULL() mysqlism with COALESCE()
Bug-26032-follow-up-Replace-IFNULL-mysqlism-with-C.patch (text/plain), 914 bytes, created by
Séverine Queune
on 2020-10-30 14:07:11 UTC
(
hide
)
Description:
Bug 26032: (follow-up) Replace IFNULL() mysqlism with COALESCE()
Filename:
MIME Type:
Creator:
Séverine Queune
Created:
2020-10-30 14:07:11 UTC
Size:
914 bytes
patch
obsolete
>From 89b408e84fba20c2c27680bd922012a4a488ca26 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 16 Oct 2020 10:45:41 +0200 >Subject: [PATCH] Bug 26032: (follow-up) Replace IFNULL() mysqlism with > COALESCE() >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: Emmi Takkinen <emmi.takkinen@outlook.com> >Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> >--- > C4/Items.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Items.pm b/C4/Items.pm >index 55bae13..740d427 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -1379,7 +1379,7 @@ sub _SearchItems_build_where_fragment { > } > > if ( defined $ifnull ) { >- $column = "IFNULL($column, ?)"; >+ $column = "COALESCE($column, ?)"; > } > > if (ref $query eq 'ARRAY') { >-- >2.1.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 26032
:
107141
|
107142
|
111554
|
111555
|
111834
|
111961
|
111962
|
111963
|
112500
|
112501
|
112502
|
112707
|
112708
|
112709
|
112710
|
112809
|
112810
|
112811
|
112812
|
112915
|
112916
|
112917
|
112918