From ea2ef4286cbe945b321784cab4db7e9b43b187a8 Mon Sep 17 00:00:00 2001 From: atif-shaikh Date: Mon, 25 Aug 2014 15:58:28 +0530 Subject: [PATCH] CRM-15169 - Notices on Event Participant Listing Report https://issues.civicrm.org/jira/browse/CRM-15169 --- CRM/Report/Form/Event/ParticipantListing.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/CRM/Report/Form/Event/ParticipantListing.php b/CRM/Report/Form/Event/ParticipantListing.php index 554a742671..e8f4caa6d1 100644 --- a/CRM/Report/Form/Event/ParticipantListing.php +++ b/CRM/Report/Form/Event/ParticipantListing.php @@ -41,6 +41,7 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form_Event { protected $_lineitemField = FALSE; protected $_groupFilter = TRUE; protected $_tagFilter = TRUE; + protected $activeCampaigns; protected $_customGroupExtends = array('Participant', 'Contact', 'Individual', 'Event'); @@ -747,19 +748,19 @@ GROUP BY cv.label } // Convert campaign_id to campaign title - $this->_initBasicRow($rows, $entryFound, 'civicrm_participant_campaign_id', $this->activeCampaigns, $row, $rowNum); + $this->_initBasicRow($rows, $entryFound, $row, 'civicrm_participant_campaign_id', $rowNum, $this->activeCampaigns); // handle contribution status - $this->_initBasicRow($rows, $entryFound, 'civicrm_contribution_contribution_status_id', $contributionStatus, $row, $rowNum); + $this->_initBasicRow($rows, $entryFound, $row, 'civicrm_contribution_contribution_status_id', $rowNum, $contributionStatus); // handle payment instrument - $this->_initBasicRow($rows, $entryFound, 'civicrm_contribution_payment_instrument_id', $paymentInstruments, $row, $rowNum); + $this->_initBasicRow($rows, $entryFound, $row, 'civicrm_contribution_payment_instrument_id', $rowNum, $paymentInstruments); // handle financial type - $this->_initBasicRow($rows, $entryFound, 'civicrm_contribution_financial_type_id', $financialTypes, $row, $rowNum); + $this->_initBasicRow($rows, $entryFound, $row, 'civicrm_contribution_financial_type_id', $rowNum, $financialTypes); // handle gender id - $this->_initBasicRow($rows, $entryFound, 'civicrm_contact_gender_id', $genders, $row, $rowNum); + $this->_initBasicRow($rows, $entryFound, $row, 'civicrm_contact_gender_id', $rowNum, $genders); // display birthday in the configured custom format if (array_key_exists('civicrm_contact_birth_date', $row)) { -- 2.25.1