X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpart_event.html;h=dc1eba0b932e0ebeedc85171f949e5e240df4544;hb=351fb8da86c1c20e0f672b3262850d14f756bedf;hp=6a532223e2dd645e70969491f3a799526027d9f7;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git diff --git a/httemplate/edit/part_event.html b/httemplate/edit/part_event.html index 6a532223e..dc1eba0b9 100644 --- a/httemplate/edit/part_event.html +++ b/httemplate/edit/part_event.html @@ -485,6 +485,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; @@ -524,6 +527,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;