projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
490a845
)
fix sort of routers (and hardware type, it looks like)
author
Ivan Kohler
<ivan@freeside.biz>
Sat, 6 Oct 2012 01:18:34 +0000
(18:18 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Sat, 6 Oct 2012 01:18:34 +0000
(18:18 -0700)
httemplate/elements/select-tiered.html
patch
|
blob
|
history
diff --git
a/httemplate/elements/select-tiered.html
b/httemplate/elements/select-tiered.html
index
7a7982e
..
e332eef
100644
(file)
--- 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
+% )
+% {
<OPTION VALUE="<%$_ |h%>" <% $curr_values->[$i] eq $_ ? 'SELECTED' : ''%>>
<% $options->{$_} |h%></OPTION>
% }