projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
71720: Prevent billing events from running on holidays
[freeside.git]
/
httemplate
/
config
/
config.cgi
diff --git
a/httemplate/config/config.cgi
b/httemplate/config/config.cgi
index
7960d7e
..
50b3eba
100644
(file)
--- a/
httemplate/config/config.cgi
+++ b/
httemplate/config/config.cgi
@@
-156,7
+156,9
@@
Setting <b><% $key %></b>
% }
% my %options = &{$config_item->options_sub};
% }
% my %options = &{$config_item->options_sub};
-% my @options = sort { $a <=> $b } keys %options;
+% my @options = keys %options;
+% my $sortsub = $config_item->sort_sub || sub { $a <=> $b };
+% @options = sort $sortsub @options;
% my %saw;
% foreach my $value ( @options ) {
% local($^W)=0; next if $saw{$value}++;
% my %saw;
% foreach my $value ( @options ) {
% local($^W)=0; next if $saw{$value}++;