From 66451f46c2e1d201312d4690bd7224dfb079f270 Mon Sep 17 00:00:00 2001 From: mark burdett Date: Thu, 20 Jul 2017 13:32:50 -0700 Subject: [PATCH] CRM-20931 - Allow contact custom fields to be added to Contribution Detail report As a bonus also add nickname column to the report :) --- CRM/Report/Form/Member/ContributionDetail.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CRM/Report/Form/Member/ContributionDetail.php b/CRM/Report/Form/Member/ContributionDetail.php index f21d1d5785..779521e8ad 100644 --- a/CRM/Report/Form/Member/ContributionDetail.php +++ b/CRM/Report/Form/Member/ContributionDetail.php @@ -40,6 +40,7 @@ class CRM_Report_Form_Member_ContributionDetail extends CRM_Report_Form { protected $_customGroupExtends = array( 'Contribution', 'Membership', + 'Contact', ); /** @@ -83,6 +84,10 @@ class CRM_Report_Form_Member_ContributionDetail extends CRM_Report_Form { 'title' => ts('Last Name'), 'no_repeat' => TRUE, ), + 'nick_name' => array( + 'title' => ts('Nickname'), + 'no_repeat' => TRUE, + ), 'contact_type' => array( 'title' => ts('Contact Type'), 'no_repeat' => TRUE, -- 2.25.1