(dev/core#3012) expose email on hold as filter for report
authoryashodha <yashodha@cividesk.com>
Mon, 3 Jan 2022 03:31:48 +0000 (09:01 +0530)
committeryashodha <yashodha@cividesk.com>
Mon, 3 Jan 2022 05:34:21 +0000 (11:04 +0530)
CRM/Report/Form/Contribute/Lybunt.php

index 95789c10a9f908611ea2e879204f0f39480eca64..b97d54c7b5d0a3c5c0c7092d1b61864868664171 100644 (file)
@@ -150,6 +150,13 @@ class CRM_Report_Form_Contribute_Lybunt extends CRM_Report_Form {
             'title' => ts('Email on hold'),
           ],
         ],
+        'filters' => [
+          'on_hold' => [
+            'title' => ts('On Hold'),
+            'type' => CRM_Utils_Type::T_BOOLEAN,
+            'options' => ['' => ts('Any')] + CRM_Core_SelectValues::boolean(),
+          ],
+        ],
       ],
       'civicrm_phone' => [
         'dao' => 'CRM_Core_DAO_Phone',