[Koha-patches] [PATCH] fix for #1788 : Locations do not sort alphabetically by name in list on "Set" location
paul.poulain at biblibre.com
paul.poulain at biblibre.com
Tue May 20 18:21:11 CEST 2008
From: Paul POULAIN <paul.poulain at biblibre.com>
---
circ/selectbranchprinter.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/circ/selectbranchprinter.pl b/circ/selectbranchprinter.pl
index 8b83b88..17a89ef 100755
--- a/circ/selectbranchprinter.pl
+++ b/circ/selectbranchprinter.pl
@@ -67,7 +67,7 @@ my $oldprinter = $printer;
my $branchcount = 0;
my $printercount = 0;
my @branchloop;
-foreach my $br ( keys %$branches ) {
+foreach my $br ( sort keys %$branches ) {
next unless $br =~ /\S/; # next unless $br is not blank.
$branchcount++;
--
1.5.3.2
More information about the Koha-patches
mailing list