From 1fbc48b04bf571e018ef0cbb567c21c69e81dc37 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 8 Nov 2016 16:41:23 -0500 Subject: [PATCH] CRM-19560 - Better labels for export participant fields --- CRM/Event/BAO/Participant.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CRM/Event/BAO/Participant.php b/CRM/Event/BAO/Participant.php index b2a608f466..c63041d35f 100644 --- a/CRM/Event/BAO/Participant.php +++ b/CRM/Event/BAO/Participant.php @@ -757,7 +757,7 @@ GROUP BY participant.event_id $participantStatus = array( 'participant_status' => array( - 'title' => 'Participant Status', + 'title' => 'Participant Status (label)', 'name' => 'participant_status', 'type' => CRM_Utils_Type::T_STRING, ), @@ -765,12 +765,15 @@ GROUP BY participant.event_id $participantRole = array( 'participant_role' => array( - 'title' => 'Participant Role', + 'title' => 'Participant Role (label)', 'name' => 'participant_role', 'type' => CRM_Utils_Type::T_STRING, ), ); + $participantFields['participant_status_id']['title'] .= ' (ID)'; + $participantFields['participant_role_id']['title'] .= ' (ID)'; + $discountFields = CRM_Core_DAO_Discount::export(); $fields = array_merge($participantFields, $participantStatus, $participantRole, $eventFields, $noteField, $discountFields); -- 2.25.1