Update user in activity query

Signed-off-by: Etzelia <etzelia@hotmail.com>
develop
Etzelia 2019-08-16 12:39:25 -05:00
parent 75730c8a7c
commit 446d6afc71
No known key found for this signature in database
GPG Key ID: 3CAEB74806C4ADE5
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ def activity_results(form):
players = [] players = []
for player in form.players.split(","): for player in form.players.split(","):
players.append(player.strip()) 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 = "" time_clause = ""
if form.date_from or form.date_to: if form.date_from or form.date_to: