minor change
authormonishdeb <monish.deb@webaccessglobal.com>
Fri, 31 Jul 2015 18:04:03 +0000 (23:34 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Fri, 31 Jul 2015 18:04:03 +0000 (23:34 +0530)
CRM/Grant/Form/Search.php
CRM/Mailing/Form/Search.php

index 05c0f1d4d92e10a8e3ca5c59bf50f353eaae437b..4b4c307e70735bd1c818eccb0bc59b098cc88563 100644 (file)
@@ -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);
index 86ad3dabc83ef59aa37c3df610438318e7c3a1e4..5d1f4b0708da1a136aaed65a12efa7f635b4b230 100644 (file)
@@ -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();