projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7edc676
)
Bug 2553: Fixes the location drop-down alphabetization for the catalog statistics...
author
Garry Collum
<gcollum@gmail.com>
Fri, 17 Jul 2009 23:08:15 +0000
(19:08 -0400)
committer
Henri-Damien LAURENT
<henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:19:20 +0000
(23:19 +0200)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
reports/catalogue_stats.pl
patch
|
blob
|
history
diff --git
a/reports/catalogue_stats.pl
b/reports/catalogue_stats.pl
index
34b649f
..
365065f
100755
(executable)
--- a/
reports/catalogue_stats.pl
+++ b/
reports/catalogue_stats.pl
@@
-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),