hello! im trying to add a filter to the task module for the field cusomter. the customer filter shows up, however the select box does not contain customers only, but all contacts. heres how the field looks like in task_fields table:
field: Customer, type: multiselect, filter:1, param: contact::Last Name|First Name;CRM_ContactsCommon::contact_format_no_company;CRM_TasksCommon::customers_crits
now, however i change the customers_crits() method, the crits dont affect the record set of filter options.
i tried these instructions:
return array('company_name'=>'2');
return array('group=>'custm');
return array('group=>'__custm__');
return array('(company_name'=>CRM_ContactsCommon::get_main_company(),'|related_companies'=>array(CRM_ContactsCommon::get_main_company())); //this one i copied from employees_crits
nothing seems to work :| what shall i do?
greetings christof