Sort libraries by name in holds queue's select input.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
This commit is contained in:
Ryan Higgins 2008-09-11 13:17:24 -05:00 committed by Henri-Damien LAURENT
parent b0c30f6929
commit 1c052fc398
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ if ( $run_report ) {
my $branches = GetBranches;
my $branch = C4::Context->userenv->{"branchname"};
my @branchloop;
foreach my $thisbranch ( keys %$branches ) {
foreach my $thisbranch (sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{branchname} } keys %$branches ) {
my $selected = 1 if $thisbranch eq $branch;
my %row = (
value => $thisbranch,