[dw-free] Okay, I was tired of this not being alphabetical. Sort groups on the circle add page.
[commit: http://hg.dwscoalition.org/dw-free/rev/e6e9c6c7d996]
Okay, I was tired of this not being alphabetical. Sort groups on the circle
add page.
Patch by
mark.
Files modified:
Okay, I was tired of this not being alphabetical. Sort groups on the circle
add page.
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- htdocs/manage/circle/add.bml
-------------------------------------------------------------------------------- diff -r 9fe35c6452e1 -r e6e9c6c7d996 htdocs/manage/circle/add.bml --- a/htdocs/manage/circle/add.bml Tue Mar 24 01:01:36 2009 +0000 +++ b/htdocs/manage/circle/add.bml Tue Mar 24 16:25:30 2009 +0000 @@ -199,7 +199,8 @@ $body .= "<?p <br />"; $body .= "$ML{'.groups.text1'} " . LJ::help_icon('customgroups', ' ') . "p?>\n"; $body .= "<blockquote>\n"; - foreach my $g ( keys %$trust_groups ) { + foreach my $g ( sort { lc $trust_groups->{$a}->{groupname} cmp + lc $trust_groups->{$b}->{groupname} } keys %$trust_groups ) { my $ck = ( $remote->trustmask( $u ) & (1 << $g) ); $body .= LJ::html_check({ 'name' => "bit_$g", --------------------------------------------------------------------------------