CRM-17075 further fix to using entity reference for membership_type_id fields
authoreileenmcnaugton <eileen@fuzion.co.nz>
Sun, 27 Sep 2015 21:20:23 +0000 (10:20 +1300)
committereileenmcnaugton <eileen@fuzion.co.nz>
Sun, 27 Sep 2015 21:21:24 +0000 (10:21 +1300)
CRM/Member/Form/Search.php

index 61b99210029083e2ad33c21ae9ad1ed9fff84971..fafc57fcac249b0450d71d6b21b9ed511fa431f0 100644 (file)
@@ -234,7 +234,7 @@ class CRM_Member_Form_Search extends CRM_Core_Form_Search {
       );
     }
 
-    $this->_queryParams = CRM_Contact_BAO_Query::convertFormValues($this->_formValues);
+    $this->_queryParams = CRM_Contact_BAO_Query::convertFormValues($this->_formValues, 0, FALSE, NULL, $this->entityReferenceFields);
 
     $selector = new CRM_Member_Selector_Search($this->_queryParams,
       $this->_action,