From d46ab8da6b22e8672463493c4968f40582e85f17 Mon Sep 17 00:00:00 2001 From: moanos Date: Wed, 20 Nov 2024 23:03:02 +0100 Subject: [PATCH] feat: Show all notifications on profile --- src/fellchensammlung/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fellchensammlung/views.py b/src/fellchensammlung/views.py index 6bb09d2..88ac516 100644 --- a/src/fellchensammlung/views.py +++ b/src/fellchensammlung/views.py @@ -423,7 +423,7 @@ def report_detail_success(request, report_id): def user_detail(request, user, token=None): context = {"user": user, "adoption_notices": AdoptionNotice.objects.filter(owner=user), - "notifications": CommentNotification.objects.filter(user=user, read=False)} + "notifications": BaseNotification.objects.filter(user=user, read=False)} if token is not None: context["token"] = token return render(request, 'fellchensammlung/details/detail-user.html', context=context)