From aa7d66adfd77175e135e0aff453f691446b7a298 Mon Sep 17 00:00:00 2001 From: Jean-Romain Garnier Date: Fri, 24 Apr 2020 16:50:57 +0200 Subject: [PATCH] Fix user filter in event logs --- logs/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logs/models.py b/logs/models.py index 6ef7ada7..50471375 100644 --- a/logs/models.py +++ b/logs/models.py @@ -53,7 +53,7 @@ class ActionsSearch: query = Q() if user: - query &= Q(user=user) + query &= Q(user__pseudo=user) if start: query &= Q(date_created__gte=start)