dev/core#4096 Rename Primary Email to Is Primary
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 31 Jan 2023 04:15:46 +0000 (17:15 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 31 Jan 2023 04:34:15 +0000 (17:34 +1300)
This field caused us problems because people mistook it
for .... the primary email field.... Renaming per agreement
on gitlab

CRM/Core/DAO/Email.php
xml/schema/Core/Email.xml

index da97c7dff7992f5ce7a772f7a81b19f94696fad7..dfb27ff5e63bbce6a514ef203fefb4c979099155 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/Core/Email.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:4cf435cd4ab6427311cbe3c4bdfee3d7)
+ * (GenCodeChecksum:9a78bc3d5abc98068f2615a4f6836141)
  */
 
 /**
@@ -271,7 +271,7 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO {
         'is_primary' => [
           'name' => 'is_primary',
           'type' => CRM_Utils_Type::T_BOOLEAN,
-          'title' => ts('Primary email'),
+          'title' => ts('Is Primary'),
           'description' => ts('Is this the primary email address'),
           'required' => TRUE,
           'where' => 'civicrm_email.is_primary',
index 50cebbc1b01627e1b9ae65903763d3ae149b98b8..f06cfa6ee1c5e5aef1fd79842192b2505b6fc461 100644 (file)
@@ -84,7 +84,7 @@
   </index>
   <field>
     <name>is_primary</name>
-    <title>Primary email</title>
+    <title>Is Primary</title>
     <type>boolean</type>
     <default>0</default>
     <required>true</required>