From: kurund Date: Tue, 13 Aug 2013 17:23:44 +0000 (+0530) Subject: fixed membership status select for search builder X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=eea6f5dee0d3164bbc9f08ec9afa57961617a0e8;p=civicrm-core.git fixed membership status select for search builder --- diff --git a/api/v3/Membership.php b/api/v3/Membership.php index deeb6b83af..95e661e3e3 100644 --- a/api/v3/Membership.php +++ b/api/v3/Membership.php @@ -149,6 +149,7 @@ function _civicrm_api3_membership_create_spec(&$params) { $params['membership_type_id']['api.required'] = 1; $params['is_test']['api.default'] = 0; $params['membership_type_id']['api.aliases'] = array('membership_type'); + $params['status_id']['api.aliases'] = array('membership_status'); $params['skipStatusCal'] = array( 'title' => 'Skip status calculation. By default this is 0 if id is not set and 1 if it is set.' );