Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WEB-1840] chore: corrected the sub issue ordering #5030

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: corrected the subissue ordering
NarayanBavisetti committed Jul 3, 2024
commit c2c89f6cdf22c0c06470a5e06abc6d6e7b7d90a0
2 changes: 1 addition & 1 deletion apiserver/plane/api/views/inbox.py
Original file line number Diff line number Diff line change
@@ -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,
)
1 change: 1 addition & 0 deletions apiserver/plane/app/views/issue/sub_issue.py
Original file line number Diff line number Diff line change
@@ -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
Loading
Oops, something went wrong.