Skip to content

Commit

Permalink
Corrige une erreur 500 lors de la recherche de notifications dans la …
Browse files Browse the repository at this point in the history
…zone d'admin (#6516)
  • Loading branch information
philippemilink authored Aug 26, 2023
1 parent 7c69e47 commit b220dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zds/notification/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")


Expand Down

0 comments on commit b220dd2

Please sign in to comment.