Fix path_order => serial_number
This commit is contained in:
@ -213,13 +213,13 @@ def get_participant_validation_details(request):
|
||||
checkins = GpsCheckin.objects.filter(
|
||||
zekken=str(zekken_number),
|
||||
event_code=event_code
|
||||
).order_by('path_order')
|
||||
).order_by('serial_number')
|
||||
|
||||
checkin_details = []
|
||||
for checkin in checkins:
|
||||
checkin_details.append({
|
||||
'id': checkin.id,
|
||||
'path_order': checkin.path_order,
|
||||
'path_order': checkin.serial_number,
|
||||
'cp_number': checkin.cp_number,
|
||||
'checkin_time': checkin.create_at.isoformat() if checkin.create_at else None,
|
||||
'image_url': checkin.image_address,
|
||||
|
||||
Reference in New Issue
Block a user