From 6fe4fdf8b15059af4fcad03a456943f68d8749b9 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 1 Jun 2012 15:02:17 -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 c89abff..b65ee05 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 ( $todaysdate eq C4::Dates->new($it->{issuedate}, 'iso')->output('iso') || $todaysdate eq C4::Dates->new($it->{'lastreneweddate'}, 'iso')->output('iso') ) { (!$relatives) ? push @todaysissues, $it : push @relissues, $it; } else { (!$relatives) ? push @previousissues, $it : push @relprevissues, $it; -- 1.7.2.5