From 5a80222b375d4c36409d232240f266812cb1c6ed 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 Signed-off-by: Nicole C. Engard Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack --- circ/circulation.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 14eaf1a29f..7b388ce0dd 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -461,7 +461,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; -- 2.39.5