fixed membership status select for search builder
authorkurund <kurund@civicrm.org>
Tue, 13 Aug 2013 17:23:44 +0000 (22:53 +0530)
committerkurund <kurund@civicrm.org>
Tue, 13 Aug 2013 17:23:44 +0000 (22:53 +0530)
api/v3/Membership.php

index deeb6b83af021221533edd6ca423412f44f10a07..95e661e3e3ef2375ba9e6c33afbd8d55df19861f 100644 (file)
@@ -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.'
   );