Merge pull request #17209 from civicrm/5.25
[civicrm-core.git] / xml / schema / Core / Email.xml
index bc9cedb87736ebecb3eaabe5847653cd730dcb1f..90f7a7bef53230c6642967eca5870a6d5c71f57d 100644 (file)
   </index>
   <field>
     <name>is_primary</name>
+    <title>Primary email</title>
     <type>boolean</type>
     <default>0</default>
-    <comment>Is this the primary email for this contact and location.</comment>
+    <comment>Is this the primary email address</comment>
     <add>1.1</add>
-  </field>
-  <field>
-    <name>is_primary</name>
-    <title>Is Primary email</title>
-    <type>boolean</type>
-    <default>0</default>
-    <comment>Is this the primary?</comment>
-    <add>2.0</add>
+    <html>
+      <type>Radio</type>
+    </html>
   </field>
   <index>
     <name>index_is_primary</name>
   </index>
   <field>
     <name>on_hold</name>
+    <title>On Hold</title>
     <export>true</export>
-    <type>boolean</type>
+    <type>int unsigned</type>
     <default>0</default>
     <required>true</required>
-    <comment>Is this address on bounce hold?</comment>
+    <comment>Implicit FK to civicrm_option_value where option_group = email_on_hold.</comment>
+    <pseudoconstant>
+      <callback>CRM_Core_PseudoConstant::emailOnHoldOptions</callback>
+    </pseudoconstant>
     <add>1.1</add>
     <html>
-      <type>CheckBox</type>
+      <type>Select</type>
     </html>
   </field>
   <field>