ordering branches by branchcodes on Auth page.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Henri-Damien LAURENT 2008-02-10 01:41:49 -06:00 committed by Joshua Ferraro
parent 3c58e8faad
commit 552d77c8ad

View file

@ -683,7 +683,7 @@ sub checkauth {
# get the branchloop, which we need for authentication
my $branches = GetBranches();
my @branch_loop;
for my $branch_hash (keys %$branches) {
for my $branch_hash (sort keys %$branches) {
push @branch_loop, {branchcode => "$branch_hash", branchname => $branches->{$branch_hash}->{'branchname'}, };
}