add filter for archived in mailing summary report
authoryashodha <yashodha@cividesk.com>
Tue, 5 Dec 2023 13:27:16 +0000 (18:57 +0530)
committeryashodha <yashodha@cividesk.com>
Tue, 5 Dec 2023 13:27:16 +0000 (18:57 +0530)
CRM/Report/Form/Mailing/Summary.php

index 7125920631a5ad9728175397c5c0db8cb2b77ebc..d1f4cc08f8bea51efae3d3865039f491269dad77 100644 (file)
@@ -82,6 +82,11 @@ class CRM_Report_Form_Mailing_Summary extends CRM_Report_Form {
           'type' => CRM_Utils_Type::T_STRING,
           'operator' => 'like',
         ],
+        'is_archived' => [
+          'name' => 'is_archived',
+          'title' => ts('Is archived?'),
+          'type' => CRM_Utils_Type::T_BOOLEAN,
+        ],
       ],
       'order_bys' => [
         'mailing_name' => [