Skip to content

armgit / plane

Public Imported from GitHub
0

πŸ”₯πŸ”₯πŸ”₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.

Add default page size in the list endpoint (#6344)

Sangeetha24944a03c6c7
diff --git a/apiserver/plane/app/views/workspace/sticky.py b/apiserver/plane/app/views/workspace/sticky.py
index c00a2cd594..d0b78aaf4a 100644
--- a/apiserver/plane/app/views/workspace/sticky.py
+++ b/apiserver/plane/app/views/workspace/sticky.py
@@ -43,6 +43,7 @@ class WorkspaceStickyViewSet(BaseViewSet):
request=request,
queryset=(self.get_queryset()),
on_results=lambda stickies: StickySerializer(stickies, many=True).data,
+ default_per_page=20,
)
@allow_permission(allowed_roles=[], creator=True, model=Sticky, level="WORKSPACE")