koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/circ circulation.pl [dev_week]


From: Joshua Ferraro
Subject: [Koha-cvs] koha/circ circulation.pl [dev_week]
Date: Thu, 05 Oct 2006 21:23:00 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         dev_week
Changes by:     Joshua Ferraro <kados>  06/10/05 21:23:00

Modified files:
        circ           : circulation.pl 

Log message:
        make todays' issues display, fix for bug 1199

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/circ/circulation.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.81.2.14.2.7&r2=1.81.2.14.2.8

Patches:
Index: circulation.pl
===================================================================
RCS file: /sources/koha/koha/circ/circulation.pl,v
retrieving revision 1.81.2.14.2.7
retrieving revision 1.81.2.14.2.8
diff -u -b -r1.81.2.14.2.7 -r1.81.2.14.2.8
--- circulation.pl      5 Oct 2006 19:59:07 -0000       1.81.2.14.2.7
+++ circulation.pl      5 Oct 2006 21:23:00 -0000       1.81.2.14.2.8
@@ -219,7 +219,9 @@
        # 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);
+               warn "today: $todaysdate issue: $issuedate";
                if ($todaysdate == $issuedate) {
                        push @todaysissues, $issueslist->{$it};
                } else {




reply via email to

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