Fix for CRM-16296
authorWeb Access <rohan.katkar@webaccessglobal.com>
Wed, 22 Apr 2015 10:03:54 +0000 (15:33 +0530)
committerWeb Access <rohan.katkar@webaccessglobal.com>
Wed, 22 Apr 2015 10:03:54 +0000 (15:33 +0530)
CRM/Contact/Form/Search/Advanced.php
CRM/Contribute/BAO/Query.php
CRM/Contribute/Form/Search.php

index f73ebd4a9cb27d4e3b454a1bc3ed0b1f65b70619..84ff204258e4f85779b1d78f8173dc628520665f 100644 (file)
@@ -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);
index 7c535f5c1d862e922ebbc453250c19933abd18a9..888214811fa1718066faf1477ce77adcaf9fa6be 100644 (file)
@@ -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',
index c087449267f01a75a875e25b4134c066079d31ff..79ed6de8b3ab5235bd96fd458fe68a2655f6c664 100644 (file)
@@ -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);