BUGFIX (minor)
authority list ordering was bugguy Signed-off-by: Chris Cormack <crc@liblime.com>
This commit is contained in:
parent
9ea7cb3702
commit
30fbc40061
|
|
@ -40,7 +40,7 @@ my ( $template, $loggedinuser, $cookie );
|
|||
|
||||
my $authtypes = getauthtypes;
|
||||
my @authtypesloop;
|
||||
foreach my $thisauthtype ( sort { $authtypes->{$a} <=> $authtypes->{$b} }
|
||||
foreach my $thisauthtype ( sort { $authtypes->{$a}{'authtypetext'} cmp $authtypes->{$b}{'authtypetext'} }
|
||||
keys %$authtypes )
|
||||
{
|
||||
my $selected = 1 if $thisauthtype eq $authtypecode;
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ my $resultsperpage;
|
|||
|
||||
my $authtypes = getauthtypes;
|
||||
my @authtypesloop;
|
||||
foreach my $thisauthtype ( sort { $authtypes->{$a} <=> $authtypes->{$b} }
|
||||
foreach my $thisauthtype ( sort { $authtypes->{$a}{'authtypetext'} cmp $authtypes->{$b}{'authtypetext'} }
|
||||
keys %$authtypes )
|
||||
{
|
||||
my $selected = 1 if $thisauthtype eq $authtypecode;
|
||||
|
|
|
|||
Loading…
Reference in New Issue