AnsweredAssumed Answered

Extending Accounts' default filter

Question asked by Pedro Bazan on Jul 21, 2015
Latest reply on Jul 23, 2015 by Cédric Mourizard

I need to add a another field to quick_search property from Accounts' default filter, like Cases, I need to search by name and another field.

I tried to add this customization on 


$viewdefs['Accounts']['base']['filter']['default'] = array (
  'quicksearch_field' => array('name', 'my_custom_field_c'),    'quicksearch_priority' => 2,    'default_filter' => 'all_records',    'fields' =>     array( //     ),  );
It works, but I want to know

Is this a best practice?


Do I need to create a file on custom/Extension/modules/Accounts/Ext/ ?

Kind regards,
Pedro Bazan