Answers.Body: <p>Through UI there is no such settings to alter the columns of Components Search results such as Contribution, Membership etc. You can achieve this by using <a href="https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_searchColumns/" rel="nofollow noreferrer">Search Column hook</a>.</p>
  
  <p>HTH<br>
  Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-26T12:17:27.717Z
Answers.LastActivityDate: 2017-12-26T12:17:27.717Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>I'm using CiviCRM 4.7.27 with Wordpress and am trying to figure out how to customize the default results table that is shown when "find contributions" is run. Normally, the search shows a table with the columns: name, amount, type, etc. I would like to customize which columns are shown for the search result but cannot for the life of me figure out how to do this. </p>
  
  <p>I tried to create a profile with the columns I want to view and enabled "Used for: search views". However, when I tried to add a Contributions field to the profile, I got the error "Contribution cannot be used as a result column for profile searches." </p>
  
  <p>Also, supposing I was able to create the profile with the fields that I want, it is not clear how to use it for the search view, since the "find contributions" page does not seem to allow a view to be chosen. Also, the "advanced search" page does not show the profile I created in the "Display Results As Views For Display Contacts" dropdown menu.</p>
  
  <p>Any help would be much appreciated! BTW, this was the reference page I consulted to try to get this feature to work: <a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Format+Advanced+Search+Result+Columns" rel="nofollow noreferrer">https://wiki.civicrm.org/confluence/display/CRMDOC/Format+Advanced+Search+Result+Columns</a></p>
  
Tags: <civicontribute><profile><search-results>
Title: CiviContribute: customize "find contributions" default view
ThreadText: # CiviContribute: customize "find contributions" default view
  
  (Asked by: username_0 on 2017-12-17)
  
  I'm using CiviCRM 4.7.27 with Wordpress and am trying to figure out how to customize the default results table that is shown when "find contributions" is run. Normally, the search shows a table with the columns: name, amount, type, etc. I would like to customize which columns are shown for the search result but cannot for the life of me figure out how to do this.
  
  I tried to create a profile with the columns I want to view and enabled "Used for: search views". However, when I tried to add a Contributions field to the profile, I got the error "Contribution cannot be used as a result column for profile searches."
  
  Also, supposing I was able to create the profile with the fields that I want, it is not clear how to use it for the search view, since the "find contributions" page does not seem to allow a view to be chosen. Also, the "advanced search" page does not show the profile I created in the "Display Results As Views For Display Contacts" dropdown menu.
  
  Any help would be much appreciated! BTW, this was the reference page I consulted to try to get this feature to work: <https://wiki.civicrm.org/confluence/display/CRMDOC/Format+Advanced+Search+Result+Columns>
  
  **Tags:** civicontribute, profile, search-results
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-12-26. Score: 0
  
  Through UI there is no such settings to alter the columns of Components Search results such as Contribution, Membership etc. You can achieve this by using [Search Column hook](https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_searchColumns/).
  
  HTH  
  username_1
  
  
  ---
  
  