We would like to extend the quick searchbox to include the fields standard civi field 'source' as well as potentially add some of our custom fields.
Any pointers to where in the base code and examples would be hugely appreciated!
We would like to extend the quick searchbox to include the fields standard civi field 'source' as well as potentially add some of our custom fields.
Any pointers to where in the base code and examples would be hugely appreciated!
The base code for it is located at navigation.js.tpl where all the menus have been listed with their search inputs.
Adding source as a search field seems to just add another line with a value as source
.
Note: Changing core file may not be recommended as you may lose them after upgradation.
I've developed an extension that could customize the quicksearch fields
More info here: https://civicrm.org/extensions/quicksearch