projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4121e1c
)
fixed membership status select for search builder
author
kurund
<kurund@civicrm.org>
Tue, 13 Aug 2013 17:23:44 +0000
(22:53 +0530)
committer
kurund
<kurund@civicrm.org>
Tue, 13 Aug 2013 17:23:44 +0000
(22:53 +0530)
api/v3/Membership.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Membership.php
b/api/v3/Membership.php
index deeb6b83af021221533edd6ca423412f44f10a07..95e661e3e3ef2375ba9e6c33afbd8d55df19861f 100644
(file)
--- 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.'
);