X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FCT.pm;h=a32486b59375123d08183a3470c860b1652b5a1f;hb=5b5dbec0272c91697acf33c4842ee9d63f041f22;hp=082afdf2572d763bfbdb4b0c918695192f997b53;hpb=72bb8ceee2c01a8d741cb33fc01ff08492967d36;p=kivitendo-erp.git diff --git a/SL/CT.pm b/SL/CT.pm index 082afdf25..a32486b59 100644 --- a/SL/CT.pm +++ b/SL/CT.pm @@ -551,7 +551,7 @@ sub _save_contact { my @columns = qw(cp_title cp_givenname cp_name cp_email cp_phone1 cp_phone2 cp_abteilung cp_fax cp_mobile1 cp_mobile2 cp_satphone cp_satfax cp_project cp_privatphone cp_privatemail cp_birthday cp_gender - cp_street cp_zipcode cp_city); + cp_street cp_zipcode cp_city cp_position); my @values = map( { if ( $_ eq 'cp_gender' ) { @@ -1123,7 +1123,7 @@ sub search_contacts { 'vcnumber' => 'vcnumber, cp_name, cp_givenname', ); - my %sortcols = map { $_ => 1 } qw(cp_name cp_givenname cp_phone1 cp_phone2 cp_mobile1 cp_email cp_street cp_zipcode cp_city vcname vcnumber); + my %sortcols = map { $_ => 1 } qw(cp_name cp_givenname cp_phone1 cp_phone2 cp_mobile1 cp_email cp_street cp_zipcode cp_city cp_position vcname vcnumber); my $order_by = $sortcols{$::form->{sort}} ? $::form->{sort} : 'cp_name'; $::form->{sort} = $order_by;