From 3768602ae73f7ce90481abd6fe0b0fe519b4fd46 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 --- circ/circulation.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index 4511c84db7..6c9467b3b3 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; -- 2.20.1