From 3da9fd47e48f7042293570f1c1cf415d72650109 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Sat, 19 Sep 2015 01:23:49 +0530 Subject: [PATCH] CRM-17246 fix - Contact name showing in Contribution summary report https://issues.civicrm.org/jira/browse/CRM-17246 --- CRM/Report/Form/Contribute/Summary.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CRM/Report/Form/Contribute/Summary.php b/CRM/Report/Form/Contribute/Summary.php index 0baa89be4a..1dff30d45f 100644 --- a/CRM/Report/Form/Contribute/Summary.php +++ b/CRM/Report/Form/Contribute/Summary.php @@ -60,7 +60,15 @@ class CRM_Report_Form_Contribute_Summary extends CRM_Report_Form { $this->_columns = array( 'civicrm_contact' => array( 'dao' => 'CRM_Contact_DAO_Contact', - 'fields' => $this->getBasicContactFields(), + 'fields' => array_merge( + $this->getBasicContactFields(), + array( + 'sort_name' => array( + 'title' => ts('Contact Name'), + 'no_repeat' => TRUE, + ) + ) + ), 'grouping' => 'contact-fields', 'group_bys' => array( 'id' => array('title' => ts('Contact ID')), -- 2.25.1