diff options
author | Michael Scherer <misc@mageia.org> | 2011-07-17 19:19:04 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-07-17 19:19:04 +0000 |
commit | 077018601769448fb6817693359b83952537f2e8 (patch) | |
tree | fc99360c12ba0b178eb7ad91269d6e44e40a0979 /lib | |
parent | f6b56a587f9e1fc5bb098bee94d5d2c6efcbdd3c (diff) | |
download | identity-077018601769448fb6817693359b83952537f2e8.tar identity-077018601769448fb6817693359b83952537f2e8.tar.gz identity-077018601769448fb6817693359b83952537f2e8.tar.bz2 identity-077018601769448fb6817693359b83952537f2e8.tar.xz identity-077018601769448fb6817693359b83952537f2e8.zip |
sort user to promote by login
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CatDap/Controller/admin.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CatDap/Controller/admin.pm b/lib/CatDap/Controller/admin.pm index 352c3b1..89a0da0 100644 --- a/lib/CatDap/Controller/admin.pm +++ b/lib/CatDap/Controller/admin.pm @@ -224,6 +224,7 @@ sub account_promote : Local { } push @entries, \%new_entry; } + @entries = sort { $a->{'uid'} cmp $b->{'uid'} } @entries; $c->stash( entries => \@entries ); push @errors, $mesg->error if $mesg->code; |