Browse Source

Bug 26032: (follow-up) Replace IFNULL() mysqlism with COALESCE()

Signed-off-by: Emmi Takkinen <emmi.takkinen@outlook.com>
Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Fridolin Somers 11 months ago
committed by Jonathan Druart
parent
commit
07cab93d5d
  1. 2
      C4/Items.pm

2
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') {

Loading…
Cancel
Save