[Koha-bugs] [Bug 4035] Today's checkouts grouped with previous checkouts

bugzilla-daemon at kohaorg.ec2.liblime.com bugzilla-daemon at kohaorg.ec2.liblime.com
Tue Jan 12 16:14:44 CET 2010


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4035





--- Comment #2 from Owen Leonard <oleonard at myacpl.org>  2010-01-12 15:14:44 ---
On line 457 of circulation.pl the item's checkout date gets formatted:

$it->{'issuedate'} = format_date($it->{'issuedate'});

But then on line 464:

if ( $todaysdate eq $it->{'issuedate'} or $todaysdate eq
$it->{'lastreneweddate'} ) {
    push @todaysissues, $it;
} else {
    push @previousissues, $it;
}

The script is trying to compare the now-formatted $it->{'issuedate'} to an
unformatted date.


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list