Fix label for participant role
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 28 Sep 2021 21:20:01 +0000 (10:20 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 28 Sep 2021 21:20:01 +0000 (10:20 +1300)
CRM/Core/DAO/MessageTemplate.php
CRM/Event/DAO/Participant.php
xml/schema/Event/Participant.xml

index fbd7b9ef859e2ce5ee7c0eaeeb7ccdbbadbf08a6..e44de41b2f54d9f4f7b31b137c29c0f42f6bbb1f 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/MessageTemplate.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:b06f348c67999ef36677f60e6c62650a)
+ * (GenCodeChecksum:8e8480f41073e41a72f3d600e5776d0d)
  */
 
 /**
index 74b25157d243529468275fd4889fda3b20585809..1dd50ba91d8ed17e03121a914fb3d5dcd1936e70 100644 (file)
@@ -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',
index e06493f302b1d6dc8064462d9ffbce4192a2b75a..7f0ce2367eba202aa9fb0484f0277a19e7a913f5 100644 (file)
   <field>
     <name>role_id</name>
     <uniqueName>participant_role_id</uniqueName>
-    <title>Participant Role</title>
+    <title>Participant Role ID</title>
     <pseudoconstant>
       <optionGroupName>participant_role</optionGroupName>
     </pseudoconstant>
     <html>
       <type>Select</type>
       <multiple>1</multiple>
+      <label>Participant Role</label>
     </html>
     <serialize>SEPARATOR_TRIMMED</serialize>
     <headerPattern>/(participant.)?(role)$/i</headerPattern>