[dw-free] list openID users in some order
[commit: http://hg.dwscoalition.org/dw-free/rev/b210be86377d]
http://bugs.dwscoalition.org/show_bug.cgi?id=386
Show all users (including identity users) in order of display_name.
Patch by
afuna.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=386
Show all users (including identity users) in order of display_name.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/manage/circle/edit.bml
-------------------------------------------------------------------------------- diff -r 1ae4f370f1ed -r b210be86377d htdocs/manage/circle/edit.bml --- a/htdocs/manage/circle/edit.bml Sat Feb 28 21:16:56 2009 +0000 +++ b/htdocs/manage/circle/edit.bml Sat Feb 28 23:34:08 2009 +0000 @@ -62,7 +62,7 @@ body<= $ret .= "<tr class='header'><th>$ML{'.circle.username'}</th><th>$ML{'.circle.name'}</th><th>$ML{'.circle.trusted_by'}</th><th>$ML{'.circle.watched_by'}</th>"; $ret .= "<th>$ML{'.circle.trust'}</th>" if $u->is_personal; $ret .= "<th>$ML{'.circle.watch'}</th></tr>"; - foreach my $uid ( sort { $us->{$a}->user cmp $us->{$b}->user } keys %$us ) { + foreach my $uid ( sort { $us->{$a}->display_name cmp $us->{$b}->display_name } keys %$us ) { my $other_u = $us->{$uid}; next unless $other_u; --------------------------------------------------------------------------------