From 446d6afc712d3dfecbf70d672dd73a65db0b0b5d Mon Sep 17 00:00:00 2001 From: Etzelia Date: Fri, 16 Aug 2019 12:39:25 -0500 Subject: [PATCH] Update user in activity query Signed-off-by: Etzelia --- activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activity.py b/activity.py index b0345b2..a26c2e8 100644 --- a/activity.py +++ b/activity.py @@ -33,7 +33,7 @@ def activity_results(form): players = [] for player in form.players.split(","): players.append(player.strip()) - players_clause = " WHERE ({}) ".format(" OR ".join(["player LIKE '%%{}%%'".format(p) for p in players])) + players_clause = " WHERE ({}) ".format(" OR ".join(["cu.user LIKE '%%{}%%'".format(p) for p in players])) time_clause = "" if form.date_from or form.date_to: