koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/circ circulation.pl


From: Pierrick LE GALL
Subject: [Koha-cvs] koha/circ circulation.pl
Date: Fri, 31 Mar 2006 15:31:44 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         
Changes by:     Pierrick LE GALL <address@hidden>       06/03/31 15:31:44

Modified files:
        circ           : circulation.pl 

Log message:
        bug fixed: the issue timestamp had not the same format as the today's 
date
        to which it was compared. The comparison separate issues on display 
between
        today issues and older issues.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/circ/circulation.pl.diff?tr1=1.90&tr2=1.91&r1=text&r2=text

Patches:
Index: koha/circ/circulation.pl
diff -u koha/circ/circulation.pl:1.90 koha/circ/circulation.pl:1.91
--- koha/circ/circulation.pl:1.90       Fri Jan  6 16:39:37 2006
+++ koha/circ/circulation.pl    Fri Mar 31 15:31:44 2006
@@ -204,6 +204,7 @@
        # split in 2 arrays for today & previous
        foreach my $it (keys %$issueslist) {
                my $issuedate = $issueslist->{$it}->{'timestamp'};
+               $issuedate =~ s/-//g;
                $issuedate = substr($issuedate, 0, 8);
                if ($todaysdate == $issuedate) {
                        push @todaysissues, $issueslist->{$it};




reply via email to

[Prev in Thread] Current Thread [Next in Thread]