From 80880d327ee145aa8c2006666c40530694d31685 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 14 Jun 2012 06:33:51 -0400 Subject: [PATCH] Bug 8043 - today's checkouts are in Previous checkouts in circulation.pl --- circ/circulation.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 4511c84..6c9467b 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -459,7 +459,7 @@ sub build_issue_data { ($it->{'author'} eq '') and $it->{'author'} = ' '; $it->{'renew_failed'} = $renew_failed{$it->{'itemnumber'}}; - if ( $todaysdate eq $it->{'issuedate'} or $todaysdate eq $it->{'lastreneweddate'} ) { + if ( $it->{'issuedate'} gt $todaysdate or $it->{'lastreneweddate'} gt $todaysdate ) { (!$relatives) ? push @todaysissues, $it : push @relissues, $it; } else { (!$relatives) ? push @previousissues, $it : push @relprevissues, $it; -- 1.7.2.5