display objective awards in participant tables
This commit is contained in:
parent
53b1fc916c
commit
f55106c260
8 changed files with 160 additions and 24 deletions
|
|
@ -146,7 +146,11 @@ class TieResolver:
|
|||
|
||||
scores = ScoreService.compute_scores(war, ContextType.WAR, war.id)
|
||||
ranking = ResultChecker.get_effective_ranking(
|
||||
war, ContextType.WAR, war.id, scores
|
||||
war,
|
||||
ContextType.WAR,
|
||||
war.id,
|
||||
scores,
|
||||
value_getter=lambda s: s.victory_points,
|
||||
)
|
||||
ties: List[TieContext] = []
|
||||
for _, group, _ in ranking:
|
||||
|
|
@ -191,6 +195,7 @@ class TieResolver:
|
|||
ContextType.OBJECTIVE,
|
||||
f"{war.id}:{objective_id}",
|
||||
scores,
|
||||
value_getter=lambda s: s.narrative_points.get(objective_id, 0),
|
||||
)
|
||||
ties: List[TieContext] = []
|
||||
for _, group, _ in ranking:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue