Bug 23081: Revert "Bug 24443: Consider NULL as 0 for issues in items search"
This reverts commit 80f1374f26.
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
e116f744a0
commit
abc00eb1cf
|
|
@ -1342,9 +1342,6 @@ sub _SearchItems_build_where_fragment {
|
|||
}
|
||||
$column = "ExtractValue($sqlfield, '$xpath')";
|
||||
}
|
||||
} elsif ($field eq 'issues') {
|
||||
# Consider NULL as 0 for issues count
|
||||
$column = 'COALESCE(issues,0)';
|
||||
} else {
|
||||
$column = $field;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue