I will like the have the names of event participants listed alphabetically on the event check-in screen, how can i modify the civimobile extension (civimobile.participant_checkin.html) to list names alphabetically?
I have this code but it doesn't work,
CRM.api('Participant','get', {"sequential": 1,"options": {"sort":"display_name"}, 'version' :'3', 'sort_name': q, 'event_id': eventId, 'participant_status_id': {1:1,2:2,5:5}, 'return' : 'display_name,participant_status_id', 'rowCount' : 500 },
{
success:function (data){
if (data.count == 0) {
cmd = null;
}
else {