[Koha-patches] [PATCH] Bug 2553: Alphabetizes the drop-down lists of libraries in the Existing Holds view of request.pl.
Garry Collum
gcollum at gmail.com
Thu Jul 16 23:52:18 CEST 2009
---
reserve/request.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/reserve/request.pl b/reserve/request.pl
index 60f7ea4..b865c5c 100755
--- a/reserve/request.pl
+++ b/reserve/request.pl
@@ -447,7 +447,7 @@ foreach my $biblionumber (@biblionumbers) {
);
}
my @branchloop;
- foreach my $br ( keys %$branches ) {
+ foreach my $br ( sort {$branches->{$a}->{'branchname'} cmp $branches->{$b}->{'branchname'}} keys %$branches ) {
my %abranch;
$abranch{'selected'} = ( $br eq $res->{'branchcode'} );
$abranch{'branch'} = $br;
--
1.5.6.5
More information about the Koha-patches
mailing list