pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
Res facta quae tamen fingi potuit ([personal profile] pauamma) wrote in [site community profile] changelog2009-02-28 11:35 pm

[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 [personal profile] afuna.

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;
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org