Search returns unchecked attendee even when marked as has_arrived
This commit is contained in:
parent
8bcd992530
commit
2f29e712c3
|
|
@ -198,7 +198,7 @@
|
|||
$('#attendee_list').html('There are no results.');
|
||||
} else {
|
||||
for (i in attendees) {
|
||||
$('#attendee_list').append('<li id="a_' + attendees[i].id + '" class="' + (attendees[i].has_arrived === '1' ? 'arrived' : 'not_arrived') + ' at list-group-item" data-id="' + attendees[i].id + '">'
|
||||
$('#attendee_list').append('<li id="a_' + attendees[i].id + '" class="' + (attendees[i].has_arrived == '1' ? 'arrived' : 'not_arrived') + ' at list-group-item" data-id="' + attendees[i].id + '">'
|
||||
+ 'Name: <b>' + attendees[i].first_name + ' '
|
||||
+ attendees[i].last_name
|
||||
+ ' </b><br>Reference: <b>' + attendees[i].reference + '</b>'
|
||||
|
|
|
|||
Loading…
Reference in New Issue