chore: draft issue listing (#5874)
This commit is contained in:
parent
db919420a7
commit
3c3fc7cd6d
3 changed files with 6 additions and 13 deletions
|
|
@ -60,8 +60,8 @@ class WorkspaceDraftIssueViewSet(BaseViewSet):
|
|||
.annotate(
|
||||
cycle_id=Case(
|
||||
When(
|
||||
issue_cycle__cycle__deleted_at__isnull=True,
|
||||
then=F("issue_cycle__cycle_id"),
|
||||
draft_issue_cycle__cycle__deleted_at__isnull=True,
|
||||
then=F("draft_issue_cycle__cycle_id"),
|
||||
),
|
||||
default=None,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue