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!

enter image description here

enter image description here

  • 1
    Do you want to search by source or do you want to add the source next to the name and email of the results?
    – Andrei
    Aug 8, 2016 at 15:59

2 Answers 2


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.