π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
chore: active issue total count (#3936)
Bavisetti Narayan578bd29f6f65
diff --git a/apiserver/plane/app/views/cycle/base.py b/apiserver/plane/app/views/cycle/base.pyindex 42904a8fce..189cdb0969 100644--- a/apiserver/plane/app/views/cycle/base.py+++ b/apiserver/plane/app/views/cycle/base.py@@ -192,7 +192,15 @@ class CycleViewSet(WebhookMixin, BaseViewSet):)def list(self, request, slug, project_id):- queryset = self.get_queryset()+ queryset = self.get_queryset().annotate(+ total_issues=Count(+ "issue_cycle",+ filter=Q(+ issue_cycle__issue__archived_at__isnull=True,+ issue_cycle__issue__is_draft=False,+ ),+ )+ )cycle_view = request.GET.get("cycle_view", "all")# Update the order by@@ -223,6 +231,7 @@ class CycleViewSet(WebhookMixin, BaseViewSet):"progress_snapshot",# meta fields"is_favorite",+ "total_issues","cancelled_issues","completed_issues","started_issues",