♻️(backend) do not paginate threads list response

The threads list action was paginated its response. this is not the
behavior we want. all threads should be loaded when the document is
loaded.
This commit is contained in:
Manuel Raynaud
2026-04-08 10:59:36 +02:00
parent dba762759e
commit 9a1dae4908
3 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -2757,7 +2757,7 @@ class ThreadViewSet(
"""Thread API: list/create threads and nested comment operations."""
permission_classes = [permissions.CommentPermission]
pagination_class = Pagination
pagination_class = None
serializer_class = serializers.ThreadSerializer
queryset = models.Thread.objects.select_related("creator", "document").filter(
resolved=False