From 0db34b922774e05e25b56675c317d8b372897f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Delaune?= Date: Fri, 4 May 2012 12:13:12 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 8043: today's checkouts are in Previous checkouts in circulation.pl Signed-off-by: Nicole C. Engard --- circ/circulation.pl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index bcbcb6f..98b371e 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -457,7 +457,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 substr($it->{'issuedate'},0,10) or $todaysdate eq substr($it->{'lastreneweddate'},0,10) ) { (!$relatives) ? push @todaysissues, $it : push @relissues, $it; } else { (!$relatives) ? push @previousissues, $it : push @relprevissues, $it; -- 1.7.2.3