koha-cvs
[Top][All Lists]
Advanced

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

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


From: Antoine Farnault
Subject: [Koha-cvs] koha/circ circulation.pl [rel_3_0]
Date: Mon, 27 Nov 2006 09:43:12 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     Antoine Farnault <toins>        06/11/27 09:43:12

Modified files:
        circ           : circulation.pl 

Log message:
        adding countreserv to the template to know how many reservations the 
borrower has.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/circ/circulation.pl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.97.2.9&r2=1.97.2.10

Patches:
Index: circulation.pl
===================================================================
RCS file: /sources/koha/koha/circ/circulation.pl,v
retrieving revision 1.97.2.9
retrieving revision 1.97.2.10
diff -u -b -r1.97.2.9 -r1.97.2.10
--- circulation.pl      24 Nov 2006 11:07:09 -0000      1.97.2.9
+++ circulation.pl      27 Nov 2006 09:43:12 -0000      1.97.2.10
@@ -320,11 +320,13 @@
     }
 
     # return result to the template
-    $template->param( reservloop => address@hidden );
-
+    $template->param( 
+        countreserv => scalar @reservloop,
+        reservloop  => address@hidden 
+    );
 }
 
-# make the issued books table.....
+# make the issued books table.
 my $todaysissues = '';
 my $previssues   = '';
 my @realtodayissues;




reply via email to

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