koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/barcodes label-manager.pl [dev_week]


From: Mason James
Subject: [Koha-cvs] koha/barcodes label-manager.pl [dev_week]
Date: Tue, 10 Jul 2007 06:33:47 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         dev_week
Changes by:     Mason James <sushi>     07/07/10 06:33:47

Modified files:
        barcodes       : label-manager.pl 

Log message:
        gets highest batch by default

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/barcodes/label-manager.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.1.2.10&r2=1.1.2.1.2.11

Patches:
Index: label-manager.pl
===================================================================
RCS file: /sources/koha/koha/barcodes/label-manager.pl,v
retrieving revision 1.1.2.1.2.10
retrieving revision 1.1.2.1.2.11
diff -u -b -r1.1.2.1.2.10 -r1.1.2.1.2.11
--- label-manager.pl    10 Jul 2007 05:47:05 -0000      1.1.2.1.2.10
+++ label-manager.pl    10 Jul 2007 06:33:46 -0000      1.1.2.1.2.11
@@ -50,7 +50,9 @@
 my $active_template_name = $active_template->{'tmpl_code'};
 # ----------
 
-$batch_id = 1 if !$batch_id;
+if (!$batch_id ) {
+    $batch_id  = get_highest_batch();
+}
 
 my ($itemnumber) = @itemnumber if (scalar(@itemnumber) == 1);
 ### $batch_id;




reply via email to

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