Fix for CRM-15473
authorRohan Katkar <rohan.katkar@webaccessglobal.com>
Mon, 20 Oct 2014 10:55:29 +0000 (16:25 +0530)
committerRohan Katkar <rohan.katkar@webaccessglobal.com>
Mon, 20 Oct 2014 10:55:29 +0000 (16:25 +0530)
CRM/Contact/Form/Search/Advanced.php

index ee086eb766123c529fb3fba2e5a2aa72bcdd6bc5..2444d58c3a0f8f14de8c98fbe1bb00327909f18c 100644 (file)
@@ -301,6 +301,9 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search {
           $this->_formValues['case_owner'] = 0;
         }
       }
+      if (array_key_exists('case_owner', $this->_formValues) && empty($this->_formValues['case_deleted'])) {
+        $this->_formValues['case_deleted'] = 0;
+      }
     }
 
     // we dont want to store the sortByCharacter in the formValue, it is more like