Add custom field in Searchbar with helptext like "search by name or <Customfield>... "

Idea created by kshah2411 on Dec 10, 2015
    Active
    Score25
    • Bhavesh Patel
    • Philippa Grover
    • Bhargavi Patel
    • Jay Khatal
    • Pratima Peshwani

    Add custom field in Searchbar with helptext like "search by name or <Customfield>... "

     

    1. Add customfield in Search Layout using studio.

     

    2. Open <Sugarcrm_Root>/custom/modules/<Module_name>/clients/base/filters/default/default.php

     

      -> Add following:

          'quicksearch_field' => array('name', '<customfield_name>'),

          'quicksearch_priority' => 2,

          .....

          'default_filter' => 'all_records',

              

          Save and Do Repair and Rebuild.