Skip to content

Commit

Permalink
fix: priority ordering (#1908)
Browse files Browse the repository at this point in the history
  • Loading branch information
NarayanBavisetti committed Aug 18, 2023
1 parent d825dc5 commit 2f39181
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apiserver/plane/api/views/workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,7 @@ def get(self, request, slug, user_id):
.filter(**filters)
.values("priority")
.annotate(priority_count=Count("priority"))
.filter(priority_count__gte=1)
.annotate(
priority_order=Case(
*[
Expand Down

1 comment on commit 2f39181

@vercel
Copy link

@vercel vercel bot commented on 2f39181 Aug 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

plane-dev – ./apps/app

plane-dev-git-develop-plane.vercel.app
plane-dev-plane.vercel.app
plane-dev.vercel.app

Please sign in to comment.