From: Web Access Date: Wed, 13 Jan 2016 11:29:18 +0000 (+0530) Subject: CRM-17787 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=124b978ed04bd9a09c0d1e7c3dadcdd08b2982ea;p=civicrm-core.git CRM-17787 --- diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index e44de0544d..4b10b2ea43 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -810,6 +810,15 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { ), ); + // CRM-17787 + $campaignTitle = array( + 'contribution_campaign_title' => array( + 'title' => ts('Campaign Title'), + 'name' => 'campaign_title', + 'where' => 'civicrm_campaign.title', + 'data_type' => CRM_Utils_Type::T_STRING, + ), + ); $softCreditFields = array( 'contribution_soft_credit_name' => array( 'name' => 'contribution_soft_credit_name', @@ -854,7 +863,7 @@ class CRM_Contribute_BAO_Contribution extends CRM_Contribute_DAO_Contribution { ); $fields = array_merge($impFields, $typeField, $contributionStatus, $contributionPage, $optionField, $expFieldProduct, - $expFieldsContrib, $contributionNote, $contributionRecurId, $extraFields, $softCreditFields, $financialAccount, $premiums, + $expFieldsContrib, $contributionNote, $contributionRecurId, $extraFields, $softCreditFields, $financialAccount, $premiums, $campaignTitle, CRM_Core_BAO_CustomField::getFieldsForImport('Contribution', FALSE, FALSE, FALSE, $checkPermission) );