From 40fd7790eb262bae304dd5dd646ca3f560e90da8 Mon Sep 17 00:00:00 2001 From: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:11:46 +0530 Subject: [PATCH] fix: my issues duplication (#1726) --- apiserver/plane/api/views/workspace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/plane/api/views/workspace.py b/apiserver/plane/api/views/workspace.py index 10428b53d..51db47c3d 100644 --- a/apiserver/plane/api/views/workspace.py +++ b/apiserver/plane/api/views/workspace.py @@ -1336,7 +1336,7 @@ class WorkspaceUserProfileIssuesEndpoint(BaseAPIView): .annotate(count=Func(F("id"), function="Count")) .values("count") ) - ) + ).distinct() # Priority Ordering if order_by_param == "priority" or order_by_param == "-priority":