chore: corrected the subissue ordering (#5030)
This commit is contained in:
parent
9a927ded84
commit
a36d1a753e
2 changed files with 2 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ class InboxIssueAPIEndpoint(BaseAPIView):
|
|||
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,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -99,6 +99,7 @@ class SubIssuesEndpoint(BaseAPIView):
|
|||
),
|
||||
)
|
||||
.annotate(state_group=F("state__group"))
|
||||
.order_by("-created_at")
|
||||
)
|
||||
|
||||
# create's a dict with state group name with their respective issue id's
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue