8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00

Fix user filter in event logs

This commit is contained in:
Jean-Romain Garnier 2020-04-24 16:50:57 +02:00 committed by chirac
parent 8cfc5d66ee
commit b5b2e281a8

View file

@ -53,7 +53,7 @@ class ActionsSearch:
query = Q() query = Q()
if user: if user:
query &= Q(user=user) query &= Q(user__pseudo=user)
if start: if start:
query &= Q(date_created__gte=start) query &= Q(date_created__gte=start)