update position / rank in tournament row

sync_v2
Raz 7 months ago
parent f1a223a094
commit f7aa474f0f
  1. 4
      tournaments/models/player_registration.py

@ -118,9 +118,9 @@ class PlayerRegistration(SideStoreModel):
# Tournament is ended with results
if tournament.get_online_registration_status() is OnlineRegistrationStatus.ENDED_WITH_RESULTS:
if team.get_final_ranking_component():
if team.final_ranking:
status['header'] = 'Rang'
status['position'] = f"{team.get_final_ranking_component()} / {tournament_status_team_count}"
status['position'] = f"{team.final_ranking} / {tournament_status_team_count}"
if tournament.display_points_earned and team.points_earned:
if team.final_ranking == 1:

Loading…
Cancel
Save