From 295bfbf8824647ce6b753f9e32be9ab4eab0a125 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Fri, 31 Jul 2015 23:34:03 +0530 Subject: [PATCH] minor change --- CRM/Grant/Form/Search.php | 2 ++ CRM/Mailing/Form/Search.php | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Grant/Form/Search.php b/CRM/Grant/Form/Search.php index 05c0f1d4d9..4b4c307e70 100644 --- a/CRM/Grant/Form/Search.php +++ b/CRM/Grant/Form/Search.php @@ -210,6 +210,8 @@ class CRM_Grant_Form_Search extends CRM_Core_Form_Search { $this->_formValues = CRM_Contact_BAO_SavedSearch::getFormValues($this->_ssID); } + CRM_Core_BAO_CustomValue::fixCustomFieldValue($this->_formValues); + $this->_queryParams = CRM_Contact_BAO_Query::convertFormValues($this->_formValues); $this->set('formValues', $this->_formValues); diff --git a/CRM/Mailing/Form/Search.php b/CRM/Mailing/Form/Search.php index 86ad3dabc8..5d1f4b0708 100644 --- a/CRM/Mailing/Form/Search.php +++ b/CRM/Mailing/Form/Search.php @@ -106,8 +106,6 @@ class CRM_Mailing_Form_Search extends CRM_Core_Form { public function postProcess() { $params = $this->controller->exportValues($this->_name); - CRM_Core_BAO_CustomValue::fixCustomFieldValue($this->_formValues); - CRM_Contact_BAO_Query::fixDateValues($params["mailing_relative"], $params['mailing_from'], $params['mailing_to']); $parent = $this->controller->getParent(); -- 2.25.1