From a4068a817620b89601540024f608b4dd015abaef Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Thu, 16 Jul 2009 17:52:18 -0400 Subject: [PATCH] Bug 2553: Alphabetizes the drop-down lists of libraries in the Existing Holds view of request.pl. Signed-off-by: Galen Charlton --- reserve/request.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reserve/request.pl b/reserve/request.pl index 60f7ea4077..b865c5c2a5 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; -- 2.39.5