Merge branch 4.6 into master
authorColeman Watts <coleman@civicrm.org>
Thu, 5 Nov 2015 19:37:05 +0000 (14:37 -0500)
committerColeman Watts <coleman@civicrm.org>
Thu, 5 Nov 2015 19:37:05 +0000 (14:37 -0500)
Conflicts:
CRM/Member/BAO/Query.php
sql/civicrm_generated.mysql
xml/version.xml

1  2 
CRM/Contact/BAO/Relationship.php
CRM/Contribute/Form/Task/Invoice.php
CRM/Member/BAO/MembershipStatus.php
CRM/Member/BAO/Query.php
CRM/Report/Form/Mailing/Detail.php
templates/CRM/Custom/Page/Option.tpl

Simple merge
Simple merge
Simple merge
index dabf18fb128116f19e1e973a9eead6572a792931,0fff4dc3cb54423534ed61f8d30e3c4843894173..3941b03f79e68921096951babdf8c7fa8da66054
@@@ -418,19 -396,14 +418,19 @@@ class CRM_Member_BAO_Query 
     * @param CRM_Core_Form $form
     */
    public static function buildSearchForm(&$form) {
-     $membershipStatus = CRM_Member_PseudoConstant::membershipStatus();
+     $membershipStatus = CRM_Member_PseudoConstant::membershipStatus(NULL, NULL, 'label', FALSE, FALSE);
 -    $form->add('select', 'membership_status_id', ts('Membership Status(s)'), $membershipStatus, FALSE,
 -      array('id' => 'membership_status_id', 'multiple' => 'multiple', 'class' => 'crm-select2')
 -    );
 -
 -    $form->addSelect('membership_type_id',
 -      array('entity' => 'membership', 'multiple' => 'multiple', 'label' => ts('Membership Type(s)'), 'option_url' => NULL, 'placeholder' => ts('- any -'))
 -    );
 +    $form->add('select', 'membership_status_id', ts('Membership Status(s)'), $membershipStatus, FALSE, array(
 +      'id' => 'membership_status_id',
 +      'multiple' => 'multiple',
 +      'class' => 'crm-select2',
 +    ));
 +
 +    $form->addEntityRef('membership_type_id', ts('Membership Type(s)'), array(
 +      'entity' => 'MembershipType',
 +      'multiple' => TRUE,
 +      'placeholder' => ts('- any -'),
 +      'select' => array('minimumInputLength' => 0),
 +    ));
  
      $form->addElement('text', 'member_source', ts('Source'));
  
Simple merge
Simple merge