Sort endgame table by difference

This commit is contained in:
c0de 2022-12-09 23:15:28 -06:00
parent d7f4540dcd
commit ff5e7f310a

View File

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