From c140d4c28c0d17ce17e2e6e4f35fe8219db7dbff Mon Sep 17 00:00:00 2001 From: yashodha Date: Wed, 16 Nov 2022 10:59:59 +0530 Subject: [PATCH] (dev/core#3992) Expose created date column in contact reports --- CRM/Report/Form.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index 087dfbefb4..37a08a2e41 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -4948,6 +4948,9 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a 'employer_id' => [ 'title' => ts('Current Employer'), ], + 'created_date' => [ + 'title' => ts('Created Date'), + ], ]; } @@ -4986,6 +4989,11 @@ LEFT JOIN civicrm_contact {$field['alias']} ON {$field['alias']}.id = {$this->_a 'contact_sub_type' => [ 'title' => ts('Contact Subtype'), ], + 'created_date' => [ + 'title' => ts('Contact Created'), + 'operatorType' => CRM_Report_Form::OP_DATE, + 'type' => CRM_Utils_Type::T_DATE, + ], 'modified_date' => [ 'title' => ts('Contact Modified'), 'operatorType' => CRM_Report_Form::OP_DATE, -- 2.25.1