CRM-15169 - Notices on Event Participant Listing Report
authoratif-shaikh <shaikh388@gmail.com>
Mon, 25 Aug 2014 10:28:28 +0000 (15:58 +0530)
committeratif-shaikh <shaikh388@gmail.com>
Mon, 25 Aug 2014 10:28:28 +0000 (15:58 +0530)
https://issues.civicrm.org/jira/browse/CRM-15169

CRM/Report/Form/Event/ParticipantListing.php

index 554a742671a0c5993eb8ee072f4ebcbc0282c130..e8f4caa6d17f4cf72edd93a97acc3841c577480b 100644 (file)
@@ -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)) {