koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week]


From: Joshua Ferraro
Subject: [Koha-cvs] koha/C4/Circulation Circ2.pm [dev_week]
Date: Mon, 18 Sep 2006 18:32:25 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         dev_week
Changes by:     Joshua Ferraro <kados>  06/09/18 18:32:25

Modified files:
        C4/Circulation : Circ2.pm 

Log message:
        add isbn and ccode to template loop

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Circulation/Circ2.pm?cvsroot=koha&only_with_tag=dev_week&r1=1.87.2.14.2.7&r2=1.87.2.14.2.8

Patches:
Index: Circ2.pm
===================================================================
RCS file: /sources/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.87.2.14.2.7
retrieving revision 1.87.2.14.2.8
diff -u -b -r1.87.2.14.2.7 -r1.87.2.14.2.8
--- Circ2.pm    27 Aug 2006 00:32:05 -0000      1.87.2.14.2.7
+++ Circ2.pm    18 Sep 2006 18:32:24 -0000      1.87.2.14.2.8
@@ -3,7 +3,7 @@
 
 package C4::Circulation::Circ2;
 
-# $Id: Circ2.pm,v 1.87.2.14.2.7 2006/08/27 00:32:05 kados Exp $
+# $Id: Circ2.pm,v 1.87.2.14.2.8 2006/09/18 18:32:24 kados Exp $
 
 #package to deal with Returns
 #written 3/11/99 by address@hidden
@@ -1486,7 +1486,9 @@
        while (my $data = $sth->fetchrow_hashref) {
                # FIXME - The Dewey code is a string, not a number.
                $data->{'dewey'}=~s/0*$//;
-               ($data->{'dewey'} == 0) && ($data->{'dewey'}='');
+               # FIXME: I've no idea what the goal of this next line is
+               # and I'm commenting it out -- JF
+               #($data->{'dewey'} == 0) && ($data->{'dewey'}='');
                # FIXME - Could use
                #       $todaysdate = POSIX::strftime("%Y%m%d", localtime)
                # or better yet, just reuse $today which was calculated above.
@@ -1546,6 +1548,8 @@
                                biblioitems.dewey     AS dewey,
                                itemtypes.description AS itemtype,
                                biblioitems.subclass  AS subclass,
+                               biblioitems.ccode  AS ccode,
+                               biblioitems.isbn  AS isbn,
                                biblioitems.classification AS classification
                        FROM issues,items,biblioitems,biblio, itemtypes
                        WHERE issues.borrowernumber  = ?
@@ -1568,6 +1572,7 @@
                # FIXME - Move the date calculation outside of the loop.
                my @datearr = localtime(time());
                my $todaysdate = (1900+$datearr[5]).sprintf ("%0.2d", 
($datearr[4]+1)).sprintf ("%0.2d", $datearr[3]);
+               #warn "ISSUE FOUND:".$data->{'barcode'};
 
                # FIXME - Instead of converting the due date to YYYYMMDD, just
                # use




reply via email to

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