fix: my issues duplication (#1726)

This commit is contained in:
Nikhil 2023-07-31 18:11:46 +05:30 committed by GitHub
parent d733fb92cd
commit 40fd7790eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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":