From: Web Access Date: Wed, 22 Apr 2015 10:03:54 +0000 (+0530) Subject: Fix for CRM-16296 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8039a148dc4d9764c723b270d1be476c0b111c0c;p=civicrm-core.git Fix for CRM-16296 --- diff --git a/CRM/Contact/Form/Search/Advanced.php b/CRM/Contact/Form/Search/Advanced.php index f73ebd4a9c..84ff204258 100644 --- a/CRM/Contact/Form/Search/Advanced.php +++ b/CRM/Contact/Form/Search/Advanced.php @@ -374,6 +374,7 @@ class CRM_Contact_Form_Search_Advanced extends CRM_Contact_Form_Search { 'activity_type_id', 'status_id', 'activity_subject', + 'contribution_page_id', ); foreach ($specialParams as $element) { $value = CRM_Utils_Array::value($element, $this->_formValues); diff --git a/CRM/Contribute/BAO/Query.php b/CRM/Contribute/BAO/Query.php index 7c535f5c1d..888214811f 100644 --- a/CRM/Contribute/BAO/Query.php +++ b/CRM/Contribute/BAO/Query.php @@ -855,11 +855,8 @@ class CRM_Contribute_BAO_Query { $form->add('select', 'contribution_page_id', ts('Contribution Page'), - array( - '' => ts('- any -'), - ) + CRM_Contribute_PseudoConstant::contributionPage(), - FALSE, array('class' => 'crm-select2') + FALSE, array('class' => 'crm-select2', 'multiple' => 'multiple', 'placeholder' => ts('- any -')) ); $form->addSelect('payment_instrument_id', diff --git a/CRM/Contribute/Form/Search.php b/CRM/Contribute/Form/Search.php index c087449267..79ed6de8b3 100644 --- a/CRM/Contribute/Form/Search.php +++ b/CRM/Contribute/Form/Search.php @@ -275,6 +275,7 @@ class CRM_Contribute_Form_Search extends CRM_Core_Form_Search { 'contribution_status_id', 'contribution_source', 'contribution_trxn_id', + 'contribution_page_id', ); foreach ($specialParams as $element) { $value = CRM_Utils_Array::value($element, $this->_formValues);