From 02c3fe4c4588a4e1cfd4d73654c372eb50459e77 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Sun, 10 Feb 2008 01:41:53 -0600 Subject: [PATCH] ordering branches by branchcodes. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- reserve/request.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reserve/request.pl b/reserve/request.pl index 452e80df2a..dd78e9d169 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -436,7 +436,7 @@ my $default = C4::Context->userenv->{branch}; my @values; my %label_of; -foreach my $branchcode ( keys %{$branches} ) { +foreach my $branchcode (sort keys %{$branches} ) { push @values, $branchcode; $label_of{$branchcode} = $branches->{$branchcode}->{branchname}; } -- 2.39.5