Skip to content
Snippets Groups Projects
Commit e7808bdd authored by colemanw's avatar colemanw
Browse files

Fix search builder participant options

parent abf2d852
No related branches found
No related tags found
No related merge requests found
......@@ -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');
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment