projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c8b6b6
)
sorting authority list
author
paul
<paul.poulain@biblibre.com>
Fri, 20 Jun 2008 10:34:46 +0000
(12:34 +0200)
committer
Joshua Ferraro
<jmf@liblime.com>
Fri, 20 Jun 2008 13:53:08 +0000
(08:53 -0500)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
authorities/detail.pl
patch
|
blob
|
history
diff --git
a/authorities/detail.pl
b/authorities/detail.pl
index
425b155
..
5a2456b
100755
(executable)
--- a/
authorities/detail.pl
+++ b/
authorities/detail.pl
@@
-476,7
+476,7
@@
my $tag;
my $authtypes = getauthtypes;
my @authtypesloop;
-foreach my $thisauthtype (keys %$authtypes) {
+foreach my $thisauthtype (
sort { $authtypes->{$b} cmp $authtypes->{$a} }
keys %$authtypes) {
my $selected = 1 if $thisauthtype eq $authtypecode;
my %row =(value => $thisauthtype,
selected => $selected,