From: Ivan Kohler Date: Thu, 11 Oct 2012 22:16:45 +0000 (-0700) Subject: backport broadband provision sort order (and JSON loading) fixes to 2.3, RT#19762 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=b7d5d55cc3cd3fa3437b6ca239768df937605b2b;p=freeside.git backport broadband provision sort order (and JSON loading) fixes to 2.3, RT#19762 --- diff --git a/httemplate/elements/select-tiered.html b/httemplate/elements/select-tiered.html index 99b285274..e332eeff8 100644 --- a/httemplate/elements/select-tiered.html +++ b/httemplate/elements/select-tiered.html @@ -59,7 +59,11 @@ main argument list, and will be applied to the last tier. > % if ( $i == 0 ) { % my $options = $tiers_by_key->[0]->{''}; -% foreach ( sort keys %$options ) { +% #foreach ( sort keys %$options ) { +% foreach ( sort { lc($options->{$a}) cmp lc($options->{$b}) } +% keys %$options +% ) +% { % } @@ -68,8 +72,8 @@ main argument list, and will be applied to the last tier. <% $tier->{after} %> % } #foreach $tier +