From 6eb8ab637fb1d944a525fc77724fdd6d7deb5b60 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 e6a2636c..b5d7d080 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)