From: Coleman Watts Date: Tue, 8 Nov 2016 21:41:23 +0000 (-0500) Subject: CRM-19560 - Better labels for export participant fields X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1fbc48b04bf571e018ef0cbb567c21c69e81dc37;p=civicrm-core.git CRM-19560 - Better labels for export participant fields --- 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);