Bug 13740: Fix null vs not null in the query
The previous patch did not work, only patrons *with* guanrantees were deleted! Signed-off-by: Koha Team AMU <koha.aixmarseille@gmail.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
b721b6f9f3
commit
316485b1c4
1 changed files with 1 additions and 1 deletions
|
@ -2124,7 +2124,7 @@ sub GetBorrowersToExpunge {
|
|||
LEFT JOIN old_issues USING (borrowernumber)
|
||||
LEFT JOIN issues USING (borrowernumber)
|
||||
WHERE category_type <> 'S'
|
||||
AND tmp.guarantorid IS NOT NULL
|
||||
AND tmp.guarantorid IS NULL
|
||||
|;
|
||||
|
||||
my @query_params;
|
||||
|
|
Loading…
Reference in a new issue