From: Yashodha Chaku Date: Mon, 13 Jun 2016 09:45:23 +0000 (+0530) Subject: Merge pull request #8346 from sqweets/auto-renew-filter-changes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7a62561925fe591cfe9d5e5e1642fac6633d8f31;p=civicrm-core.git Merge pull request #8346 from sqweets/auto-renew-filter-changes CRM-17684 Find Memberships with no auto-renew --- 7a62561925fe591cfe9d5e5e1642fac6633d8f31 diff --cc CRM/Member/BAO/Query.php index def1576a87,6fcb7e1228..b1b2ec27df --- a/CRM/Member/BAO/Query.php +++ b/CRM/Member/BAO/Query.php @@@ -445,9 -474,20 +475,20 @@@ class CRM_Member_BAO_Query $form->addYesNo('member_is_primary', ts('Primary Member?'), TRUE); $form->addYesNo('member_pay_later', ts('Pay Later?'), TRUE); - $form->addYesNo('member_auto_renew', ts('Auto-Renew?'), TRUE); + + $form->add('select', 'member_auto_renew', + ts('Auto-Renew Subscription Status?'), + array( + '1' => ts('- None -'), + '2' => ts('In Progress'), + '3' => ts('Failed'), + '4' => ts('Cancelled'), + '5' => ts('Ended'), + ) + ); + $form->addYesNo('member_test', ts('Membership is a Test?'), TRUE); - $form->addYesNo('member_is_override', ts('Membership Status Is Override?'), TRUE); + $form->addYesNo('member_is_override', ts('Membership Status Is Overriden?'), TRUE); // add all the custom searchable fields $extends = array('Membership');