X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fpart_event.html;h=702471b73c4d3c667e7b42beebda1d9da62b3471;hb=87f255507af9f14dfbccd37eefd71a148f9af344;hp=e005cbba0752b469f72b1f3de8bd997c6bff43ee;hpb=53ea5a72067a9b0ebcd3417692c3884d6f91f74a;p=freeside.git 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;