From f01d655f487fead87ae518a396d5712cc0dfeb62 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 24 Aug 2021 10:20:30 +1200 Subject: [PATCH] Add date metadata for email.on_hold, reset_date --- CRM/Core/DAO/Email.php | 6 +++++- xml/schema/Core/Email.xml | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CRM/Core/DAO/Email.php b/CRM/Core/DAO/Email.php index d72c3b3b85..53180904db 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:84e4a7efb791b5e3ed3b7d7fc9e21a09) + * (GenCodeChecksum:7e30aa415b50a25add79b9553b5d7657) */ /** @@ -320,6 +320,8 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { 'bao' => 'CRM_Core_BAO_Email', 'localizable' => 0, 'html' => [ + 'type' => 'Select Date', + 'formatType' => 'activityDateTime', 'label' => ts("Hold Date"), ], 'add' => '1.1', @@ -335,6 +337,8 @@ class CRM_Core_DAO_Email extends CRM_Core_DAO { 'bao' => 'CRM_Core_BAO_Email', 'localizable' => 0, 'html' => [ + 'type' => 'Select Date', + 'formatType' => 'activityDateTime', 'label' => ts("Reset Date"), ], 'add' => '1.1', diff --git a/xml/schema/Core/Email.xml b/xml/schema/Core/Email.xml index 00ab390502..ddb0678f61 100644 --- a/xml/schema/Core/Email.xml +++ b/xml/schema/Core/Email.xml @@ -143,6 +143,8 @@ When the address went on bounce hold + Select Date + activityDateTime 1.1 @@ -152,6 +154,8 @@ When the address bounce status was last reset + Select Date + activityDateTime 1.1 -- 2.25.1