Fix path_order => serial_number

This commit is contained in:
2025-08-29 18:09:32 +09:00
parent 8a73840298
commit 5fff127faf
5 changed files with 19 additions and 24 deletions

View File

@ -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,