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: