projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-01-18-17-02-24
[civicrm-core.git]
/
api
/
v3
/
Participant.php
diff --git
a/api/v3/Participant.php
b/api/v3/Participant.php
index e3d1c74123ffe8d1f6ef18ae6c2c4e2edcfb1dbb..cf39df191faf60c15906c681fc9492873bbc15a0 100644
(file)
--- a/
api/v3/Participant.php
+++ b/
api/v3/Participant.php
@@
-1,9
+1,8
@@
<?php
<?php
-// $Id$
/*
+--------------------------------------------------------------------+
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
3
|
+ | CiviCRM version 4.
4
|
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
@@
-122,6
+121,9
@@
function _civicrm_api3_participant_create_spec(&$params) {
$params['register_date']['api.default'] = "now";
$params['event_id']['api.required'] = 1;
$params['contact_id']['api.required'] = 1;
$params['register_date']['api.default'] = "now";
$params['event_id']['api.required'] = 1;
$params['contact_id']['api.required'] = 1;
+ // These are for the sake of search builder options - can be removed if that is fixed
+ $params['role_id']['api.aliases'] = array('participant_role');
+ $params['status_id']['api.aliases'] = array('participant_status');
}
/**
}
/**