From: Ivan Kohler Date: Sat, 6 Oct 2012 01:18:34 +0000 (-0700) Subject: fix sort of routers (and hardware type, it looks like) X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=47e67d9852be3ccab87d2993f063e920295d8e65 fix sort of routers (and hardware type, it looks like) --- diff --git a/httemplate/elements/select-tiered.html b/httemplate/elements/select-tiered.html index 7a7982e56..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 +% ) +% { % }