From d6d96953681a2a96186fbed6faf0e7a09e3a592a Mon Sep 17 00:00:00 2001 From: Philippe MILINK Date: Sat, 1 Jul 2023 17:19:06 +0200 Subject: [PATCH] Corrige une erreur 500 lors de la recherche de notifications dans la zone d'admin --- zds/notification/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zds/notification/admin.py b/zds/notification/admin.py index fd334e0516..916fd44be0 100644 --- a/zds/notification/admin.py +++ b/zds/notification/admin.py @@ -7,7 +7,7 @@ class NotificationAdmin(admin.ModelAdmin): list_display = ("subscription", "pubdate", "is_read", "is_dead", "sender") list_filter = ("is_read", "is_dead") - search_fields = ("subscription__user__username, sender__username", "url", "title") + search_fields = ("subscription__user__username", "sender__username", "url", "title") raw_id_fields = ("subscription", "sender")