ordering branches by branchcodes.
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
792b538c8c
commit
02c3fe4c45
|
|
@ -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};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue