Revision 4b211b2b
Von Moritz Bunkus vor fast 12 Jahren hinzugefügt
SL/CT.pm | ||
---|---|---|
551 | 551 |
|
552 | 552 |
my @columns = qw(cp_title cp_givenname cp_name cp_email cp_phone1 cp_phone2 cp_abteilung cp_fax |
553 | 553 |
cp_mobile1 cp_mobile2 cp_satphone cp_satfax cp_project cp_privatphone cp_privatemail cp_birthday cp_gender |
554 |
cp_street cp_zipcode cp_city); |
|
554 |
cp_street cp_zipcode cp_city cp_function);
|
|
555 | 555 |
my @values = map( |
556 | 556 |
{ |
557 | 557 |
if ( $_ eq 'cp_gender' ) { |
... | ... | |
1123 | 1123 |
'vcnumber' => 'vcnumber, cp_name, cp_givenname', |
1124 | 1124 |
); |
1125 | 1125 |
|
1126 |
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); |
|
1126 |
my %sortcols = map { $_ => 1 } qw(cp_name cp_givenname cp_phone1 cp_phone2 cp_mobile1 cp_email cp_street cp_zipcode cp_city cp_function vcname vcnumber);
|
|
1127 | 1127 |
|
1128 | 1128 |
my $order_by = $sortcols{$::form->{sort}} ? $::form->{sort} : 'cp_name'; |
1129 | 1129 |
$::form->{sort} = $order_by; |
Auch abrufbar als: Unified diff
Ansprechpersonen: Feld "Funktion/Position"