Bug 2553: Fixes the location drop-down alphabetization for the catalog statistics report form.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This commit is contained in:
Garry Collum 2009-07-17 19:08:15 -04:00 committed by Henri-Damien LAURENT
parent 7edc676086
commit f4ddbfc3c1
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ if ($do_it) {
my $branches=GetBranches();
my @branchloop;
foreach (keys %$branches) {
foreach (sort {$branches->{$a}->{'branchname'} cmp $branches->{$b}->{'branchname'}} keys %$branches) {
my $thisbranch = ''; # FIXME: populate $thisbranch to preselect one
my %row = (branchcode => $_,
selected => ($thisbranch eq $_ ? 1 : 0),