--Notice fixes for case statuses having filter = 1
authorNileema <nileema@nileema.(none)>
Fri, 26 Sep 2014 12:53:47 +0000 (18:23 +0530)
committerNileema <nileema@nileema.(none)>
Fri, 26 Sep 2014 12:53:47 +0000 (18:23 +0530)
CRM/Report/Form/Case/Detail.php
CRM/Report/Form/Case/Summary.php

index 2086460920da090fed474c02f54a0b1af82b0112..4672d665d3bc17963f9ef724168564e542347fae 100644 (file)
@@ -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) {
index e9188f19270f9434428088a2a09bbf9e45ae5da0..f722db28a420870e8f2c0cf8b19516eecb6d292a 100644 (file)
@@ -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'];