mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
fix: priority ordering
This commit is contained in:
@@ -1083,6 +1083,7 @@ class WorkspaceUserProfileStatsEndpoint(BaseAPIView):
|
||||
.filter(**filters)
|
||||
.values("priority")
|
||||
.annotate(priority_count=Count("priority"))
|
||||
.filter(priority_count__gte=1)
|
||||
.annotate(
|
||||
priority_order=Case(
|
||||
*[
|
||||
|
||||
Reference in New Issue
Block a user