From: Coleman Watts Date: Wed, 15 Jan 2014 23:14:57 +0000 (-0800) Subject: Fix search builder participant options X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e7808bdde0c4369bf276885ba313f8721d630b6d;p=civicrm-core.git Fix search builder participant options --- diff --git a/api/v3/Participant.php b/api/v3/Participant.php index e5e94411bd..cf39df191f 100644 --- a/api/v3/Participant.php +++ b/api/v3/Participant.php @@ -121,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; + // 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'); } /**