From ee9420c21476965315d528c493c30d330946fc96 Mon Sep 17 00:00:00 2001 From: Jaap Jansma Date: Mon, 5 Oct 2015 16:04:39 +0200 Subject: [PATCH] Fixed #CRM-17338 --- CRM/Case/Form/Search.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Case/Form/Search.php b/CRM/Case/Form/Search.php index 50450942b8..ed4da21251 100644 --- a/CRM/Case/Form/Search.php +++ b/CRM/Case/Form/Search.php @@ -354,8 +354,8 @@ class CRM_Case_Form_Search extends CRM_Core_Form_Search { CRM_Core_DAO::$_nullObject ); if ($caseType) { - $this->_formValues['case_type_id'][$caseType] = 1; - $this->_defaults['case_type_id'][$caseType] = 1; + $this->_formValues['case_type_id'][$caseType] = $caseType; + $this->_defaults['case_type_id'][$caseType] = $caseType; } $caseFromDate = CRM_Utils_Request::retrieve('pstart', 'Date', -- 2.25.1