From 01bf13dcaa4bed16d9fb19e168520aa294a579a3 Mon Sep 17 00:00:00 2001 From: Nileema Date: Fri, 26 Sep 2014 18:23:47 +0530 Subject: [PATCH] --Notice fixes for case statuses having filter = 1 --- CRM/Report/Form/Case/Detail.php | 2 +- CRM/Report/Form/Case/Summary.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CRM/Report/Form/Case/Detail.php b/CRM/Report/Form/Case/Detail.php index 2086460920..4672d665d3 100644 --- a/CRM/Report/Form/Case/Detail.php +++ b/CRM/Report/Form/Case/Detail.php @@ -61,7 +61,7 @@ class CRM_Report_Form_Case_Detail extends CRM_Report_Form { * */ function __construct() { - $this->case_statuses = CRM_Case_PseudoConstant::caseStatus(); + $this->case_statuses = CRM_Core_OptionGroup::values('case_status'); $this->case_types = CRM_Case_PseudoConstant::caseType(); $rels = CRM_Core_PseudoConstant::relationshipType(); foreach ($rels as $relid => $v) { diff --git a/CRM/Report/Form/Case/Summary.php b/CRM/Report/Form/Case/Summary.php index e9188f1927..f722db28a4 100644 --- a/CRM/Report/Form/Case/Summary.php +++ b/CRM/Report/Form/Case/Summary.php @@ -37,6 +37,7 @@ class CRM_Report_Form_Case_Summary extends CRM_Report_Form { protected $_summary = NULL; protected $_relField = FALSE; + protected $_exposeContactID = FALSE; /** * @@ -46,7 +47,7 @@ class CRM_Report_Form_Case_Summary extends CRM_Report_Form { */ function __construct() { $this->case_types = CRM_Case_PseudoConstant::caseType(); - $this->case_statuses = CRM_Case_PseudoConstant::caseStatus(); + $this->case_statuses = CRM_Core_OptionGroup::values('case_status'); $rels = CRM_Core_PseudoConstant::relationshipType(); foreach ($rels as $relid => $v) { $this->rel_types[$relid] = $v['label_b_a']; -- 2.25.1