Answers.Body: <p>The base code for it is located at <a href="https://github.com/civicrm/civicrm-core/blob/master/templates/CRM/common/navigation.js.tpl#L40-L50" rel="nofollow">navigation.js.tpl</a> where all the menus have been listed with their search inputs.</p>
  
  <p>Adding source as a search field seems to just add another line with a value as <code>source</code>.</p>
  
  <p>Note: Changing core file may not be recommended as you may lose them after upgradation.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-08T11:23:44.817Z
Answers.LastActivityDate: 2016-08-08T11:23:44.817Z
Answers.UserDisplayName: jitendra - fuzion
Answers.Body: <p>I've developed an extension that could customize the quicksearch fields</p>
  
  <p>More info here: <a href="https://civicrm.org/extensions/quicksearch" rel="nofollow noreferrer">https://civicrm.org/extensions/quicksearch</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-21T11:16:36.310Z
Answers.LastActivityDate: 2018-08-21T11:47:44.533Z
Answers.LastEditDate: 2018-08-21T11:47:44.533Z
Answers.UserDisplayName: luciano_s
Body: <p>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. </p>
  
  <p>Any pointers to where in the base code and examples would be hugely appreciated! </p>
  
  <p><a href="https://i.sstatic.net/FB1eb.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/FB1eb.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.sstatic.net/8vERb.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/8vERb.jpg" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-08T15:59:08.847Z
Comments.Text: Do you want to __search__ by source or do you want to add the source next to the name and email of the results?
Comments.UserDisplayName: Andrei
Tags: <quicksearch>
Title: Extend quick search box
ThreadText: # Extend quick search box
  
  (Asked by: username_0 on 2016-08-08)
  
  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](https://i.sstatic.net/FB1eb.jpg)](https://i.sstatic.net/FB1eb.jpg)
  
  [![enter image description here](https://i.sstatic.net/8vERb.jpg)](https://i.sstatic.net/8vERb.jpg)
  
  **Tags:** quicksearch
  
  > **Comments:**
  > **username_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?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2016-08-08. Score: 2 | Accepted answer
  
  The base code for it is located at [navigation.js.tpl](https://github.com/civicrm/civicrm-core/blob/master/templates/CRM/common/navigation.js.tpl#L40-L50) 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.
  
  
  ---
  
  ### Answer by username_3 on 2018-08-21. Score: 1
  
  I've developed an extension that could customize the quicksearch fields
  
  More info here: <https://civicrm.org/extensions/quicksearch>
  
  
  ---
  
  