8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-16 00:13:12 +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 Gabriel Detraz
parent bd187b9f2c
commit 6eb8ab637f

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)