Skip to content

Commit

Permalink
chore: corrected the subissue ordering (#5030)
Browse files Browse the repository at this point in the history
  • Loading branch information
NarayanBavisetti authored Jul 4, 2024
1 parent 9a927de commit a36d1a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apiserver/plane/api/views/inbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def post(self, request, slug, project_id):
description_html=request.data.get("issue", {}).get(
"description_html", "<p></p>"
),
priority=request.data.get("issue", {}).get("priority", "low"),
priority=request.data.get("issue", {}).get("priority", "none"),
project_id=project_id,
state=state,
)
Expand Down
1 change: 1 addition & 0 deletions apiserver/plane/app/views/issue/sub_issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def get(self, request, slug, project_id, issue_id):
),
)
.annotate(state_group=F("state__group"))
.order_by("-created_at")
)

# create's a dict with state group name with their respective issue id's
Expand Down

0 comments on commit a36d1a7

Please sign in to comment.