summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-02-22 22:07:38 -0800
committerIvan Kohler <ivan@freeside.biz>2012-02-22 22:07:38 -0800
commitd7c50ca6ded0c72bb1b91326da3ff1d7ed45c2b0 (patch)
treec23f650b29b239708ce0b7c0c9b54d78cd56c444 /httemplate/edit
parentca5a413a55b44c8db7dd918ae59f5b4ee6464f19 (diff)
parenta3f6af253b06d80e3be43b0f954df9c18a93c12d (diff)
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/edit')
-rw-r--r--httemplate/edit/part_event.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/edit/part_event.html b/httemplate/edit/part_event.html
index e005cbba0..702471b73 100644
--- a/httemplate/edit/part_event.html
+++ b/httemplate/edit/part_event.html
@@ -500,6 +500,9 @@ tie my %all_conditions, 'Tie::IxHash',
'' => { 'description' => '*** Select new condition ***', },
FS::part_event_condition->conditions();
+# *** Select new condition *** sorts to the beginning anyway
+(tied %all_conditions)->SortByValue;
+
my %condition_labels = map { $_ => $all_conditions{$_}->{'description'} }
keys %all_conditions;
@@ -539,6 +542,8 @@ tie my %all_actions, 'Tie::IxHash',
'' => { 'description' => '*** Select event action ***', },
FS::part_event->actions();
+(tied %all_actions)->SortByValue;
+
my %action_labels = map { $_ => $all_actions{$_}->{'description'} }
keys %all_actions;