I'm using the Autocomplete extension and it works as advertised. However, I was hoping someone could help me customize the output of the autocomplete.
I would like to include all of the Organization contact_type entries as well as several subgroups while excluding others.
Below will filter out the contact_sub_types, but also filters out any of the parent Organizations that do not have a subtype. How do I return a display_name for Organizations with no subtype as well as subtypes
global $civicrm_setting; $civicrm_setting['eu.tttp.publicautocomplete']['params'] = array( 'contact_type' => 'Organization', 'contact_sub_type' => array('NOT LIKE' => "Facility\", \"Legislation\", \"Contract"), 'return' => 'display_name' );
Thanks in advance for your help.