Add case ID and make subject optional for case detail report
authorMatthew Wire <mjw@mjwconsult.co.uk>
Fri, 18 Mar 2022 11:43:32 +0000 (11:43 +0000)
committerMatthew Wire <mjw@mjwconsult.co.uk>
Fri, 18 Mar 2022 11:43:32 +0000 (11:43 +0000)
CRM/Report/Form/Case/Detail.php

index bf13f2934ade29c4acf8379d319c8e55f94ca8b6..c5e5aeb96cf8bece075422d839141170bac8c984 100644 (file)
@@ -56,9 +56,13 @@ class CRM_Report_Form_Case_Detail extends CRM_Report_Form {
             'no_display' => TRUE,
             'required' => TRUE,
           ],
+          'case_id' => [
+            'title' => ts('Case ID'),
+            'type' => CRM_Utils_Type::T_INT,
+          ],
           'subject' => [
             'title' => ts('Subject'),
-            'required' => TRUE,
+            'default' => TRUE,
           ],
           'start_date' => [
             'title' => ts('Start Date'),