From b75937942d18c931e8dbb7ae4cd1367b4ee94509 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Sat, 12 Dec 2015 21:00:09 +0100 Subject: [PATCH] [Backport]Fixing attach_watchers_attrs_to_queryset method --- taiga/projects/notifications/mixins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taiga/projects/notifications/mixins.py b/taiga/projects/notifications/mixins.py index a147431b..ede48093 100644 --- a/taiga/projects/notifications/mixins.py +++ b/taiga/projects/notifications/mixins.py @@ -53,7 +53,7 @@ class WatchedResourceMixin: def attach_watchers_attrs_to_queryset(self, queryset): qs = attach_watchers_to_queryset(queryset) - qs = attach_total_watchers_to_queryset(queryset) + qs = attach_total_watchers_to_queryset(qs) if self.request.user.is_authenticated(): qs = attach_is_watcher_to_queryset(qs, self.request.user)