diff --git a/apps/core/views/viewsets/article.py b/apps/core/views/viewsets/article.py index a5a0bd59..bf6067e9 100644 --- a/apps/core/views/viewsets/article.py +++ b/apps/core/views/viewsets/article.py @@ -108,6 +108,7 @@ def filter_queryset(self, queryset): "created_by__profile", "parent_topic", "parent_board", + "parent_board__group", ).prefetch_related( ArticleReadLog.prefetch_my_article_read_log(self.request.user), ) @@ -119,6 +120,7 @@ def filter_queryset(self, queryset): "created_by__profile", "parent_topic", "parent_board", + "parent_board__group", ).prefetch_related( "attachments", models.Prefetch(