From 7889dd68ed0acc120c671607b3320cd4ad93aa11 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 31 Jan 2023 17:15:46 +1300 Subject: [PATCH] dev/core#4096 Rename Primary Email to Is Primary This field caused us problems because people mistook it for .... the primary email field.... Renaming per agreement on gitlab --- CRM/Core/DAO/Email.php | 4 ++-- xml/schema/Core/Email.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Core/DAO/Email.php b/CRM/Core/DAO/Email.php index da97c7dff799..dfb27ff5e63b 100644 --- a/CRM/Core/DAO/Email.php +++ b/CRM/Core/DAO/Email.php @@ -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 @@ public static function &fields() { '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', diff --git a/xml/schema/Core/Email.xml b/xml/schema/Core/Email.xml index 50cebbc1b016..f06cfa6ee1c5 100644 --- a/xml/schema/Core/Email.xml +++ b/xml/schema/Core/Email.xml @@ -84,7 +84,7 @@ is_primary - Primary email + Is Primary boolean 0 true