[Patches] [PATCH] Bug 7266 follow-up: corrected the "lost" status check
koha-patchbot at kohaaloha.com
koha-patchbot at kohaaloha.com
Sat Dec 3 14:15:42 NZDT 2011
From: Adrien Saurat <adrien.saurat at biblibre.com>
Date: Fri, 2 Dec 2011 10:08:36 +0100
Subject: [PATCH] Bug 7266 follow-up: corrected the "lost" status check
---
circ/overdue.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/circ/overdue.pl b/circ/overdue.pl
index acbdaa7..1ef1330 100755
--- a/circ/overdue.pl
+++ b/circ/overdue.pl
@@ -270,10 +270,10 @@ if ($noreport) {
$strsth .= " AND borrowers.gonenoaddress <> 0";
}
elsif ( $borflagsfilter eq 'debarred' ) {
- $strsth .= " AND borrowers.debarred >= CURDATE()" ;
+ $strsth .= " AND borrowers.debarred >= CURDATE()";
}
elsif ( $borflagsfilter eq 'lost') {
- $strsth .= " AND borrowers.debarred <> 0";
+ $strsth .= " AND borrowers.lost <> 0";
}
$strsth.=" AND borrowers.branchcode = '" . $branchfilter . "' " if $branchfilter;
$strsth.=" AND date_due < '" . $datedueto . "' " if $datedueto;
--
1.7.4.1
More information about the Patches
mailing list