From 74f1aad9684c21f5d87c458968750c0421a3836f Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Mon, 22 Apr 2013 19:35:34 -0400 Subject: [PATCH] Use the correct pgstat row for Elo. --- xonstat/views/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xonstat/views/player.py b/xonstat/views/player.py index 197a4d2..d314c12 100644 --- a/xonstat/views/player.py +++ b/xonstat/views/player.py @@ -394,7 +394,7 @@ def get_recent_games(player_id): Provides a list of recent games for a player. Uses the recent_games_q helper. """ # recent games played in descending order - rgs = recent_games_q(player_id=player_id).limit(10).all() + rgs = recent_games_q(player_id=player_id, force_player_id=True).limit(10).all() recent_games = [RecentGame(row) for row in rgs] return recent_games -- 2.39.2