From 210ff6157e7489987cb1dd8ef712e4915b4181c7 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 29 Sep 2021 10:20:01 +1300 Subject: [PATCH] Fix label for participant role --- CRM/Core/DAO/MessageTemplate.php | 2 +- CRM/Event/DAO/Participant.php | 5 +++-- xml/schema/Event/Participant.xml | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CRM/Core/DAO/MessageTemplate.php b/CRM/Core/DAO/MessageTemplate.php index fbd7b9ef85..e44de41b2f 100644 --- a/CRM/Core/DAO/MessageTemplate.php +++ b/CRM/Core/DAO/MessageTemplate.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/MessageTemplate.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b06f348c67999ef36677f60e6c62650a) + * (GenCodeChecksum:8e8480f41073e41a72f3d600e5776d0d) */ /** diff --git a/CRM/Event/DAO/Participant.php b/CRM/Event/DAO/Participant.php index 74b25157d2..1dd50ba91d 100644 --- a/CRM/Event/DAO/Participant.php +++ b/CRM/Event/DAO/Participant.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Event/Participant.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:fcaf9990a79e1ea3bd799a6ff75db893) + * (GenCodeChecksum:4ca199ee96c9079ad7ce673c7a06d5f6) */ /** @@ -315,7 +315,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'participant_role_id' => [ 'name' => 'role_id', 'type' => CRM_Utils_Type::T_STRING, - 'title' => ts('Participant Role'), + 'title' => ts('Participant Role ID'), 'description' => ts('Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.'), 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, @@ -331,6 +331,7 @@ class CRM_Event_DAO_Participant extends CRM_Core_DAO { 'serialize' => self::SERIALIZE_SEPARATOR_TRIMMED, 'html' => [ 'type' => 'Select', + 'label' => ts("Participant Role"), ], 'pseudoconstant' => [ 'optionGroupName' => 'participant_role', diff --git a/xml/schema/Event/Participant.xml b/xml/schema/Event/Participant.xml index e06493f302..7f0ce2367e 100644 --- a/xml/schema/Event/Participant.xml +++ b/xml/schema/Event/Participant.xml @@ -102,13 +102,14 @@ role_id participant_role_id - Participant Role + Participant Role ID participant_role Select 1 + SEPARATOR_TRIMMED /(participant.)?(role)$/i -- 2.25.1