Sort endgame table by difference
This commit is contained in:
parent
d7f4540dcd
commit
ff5e7f310a
@ -47,7 +47,7 @@ class ProcessGuess:
|
|||||||
& (Guess.guess > 0)
|
& (Guess.guess > 0)
|
||||||
& (Guess.player.player_id == Player.player_id)
|
& (Guess.player.player_id == Player.player_id)
|
||||||
)
|
)
|
||||||
.order_by(Guess.guess)
|
.order_by(Guess.difference)
|
||||||
)
|
)
|
||||||
return self.guesses
|
return self.guesses
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user