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:
6772229
)
Add api alias for 'gender_id' as 'gender'
author
Coleman Watts
<coleman@civicrm.org>
Fri, 31 Jul 2015 17:20:00 +0000
(13:20 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Fri, 31 Jul 2015 17:20:00 +0000
(13:20 -0400)
api/v3/Contact.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Contact.php
b/api/v3/Contact.php
index 1e7cfc23fca78621ab83a7e4a74dda0e39483316..eb6b5d73583d22ef82a026be99664ee3b95890fd 100644
(file)
--- a/
api/v3/Contact.php
+++ b/
api/v3/Contact.php
@@
-131,6
+131,7
@@
function _civicrm_api3_contact_create_spec(&$params) {
);
$params['prefix_id']['api.aliases'] = array('individual_prefix', 'individual_prefix_id');
$params['suffix_id']['api.aliases'] = array('individual_suffix', 'individual_suffix_id');
+ $params['gender_id']['api.aliases'] = array('gender');
}
/**