changing default columns for new installs to a postiv list of "type, name/organisation, bussiness address, phone and email", so adding further columns dont make them automatic enabled

This commit is contained in:
Ralf Becker 2014-09-24 08:26:19 +00:00
parent 1465d5065b
commit c07c550e7a

View File

@ -224,7 +224,11 @@ class addressbook_ui extends addressbook_bo
'filter2_no_lang'=> True, // I set no_lang for filter2 (=dont translate the options) 'filter2_no_lang'=> True, // I set no_lang for filter2 (=dont translate the options)
'lettersearch' => true, 'lettersearch' => true,
'do_email' => $do_email ? 1 : 0, 'do_email' => $do_email ? 1 : 0,
'default_cols' => '!cat_id,contact_created_contact_modified,distribution_list,contact_id,owner,room', // using a positiv list now, as we constantly adding new columns in addressbook, but not removing them from default
'default_cols' => 'type,n_fileas_n_given_n_family_n_family_n_given_org_name_n_family_n_given_n_fileas,'.
'business_adr_one_countrycode_adr_one_postalcode,tel_work_tel_cell_tel_home,url_email_email_home',
/* old negative list
'default_cols' => '!cat_id,contact_created_contact_modified,distribution_list,contact_id,owner,room',*/
'filter2_onchange' => "app.addressbook.filter2_onchange();", 'filter2_onchange' => "app.addressbook.filter2_onchange();",
'manual' => $do_email ? ' ' : false, // space for the manual icon 'manual' => $do_email ? ' ' : false, // space for the manual icon
//'actions' => $this->get_actions(), // set on each request, as it depends on some filters //'actions' => $this->get_actions(), // set on each request, as it depends on some filters