forked from github/plane
fix: remove issue duplicated when adding multiple modules (#4637)
This commit is contained in:
parent
49e65fbcb3
commit
571a3d1239
@ -182,7 +182,6 @@ class IssueAPIEndpoint(BaseAPIView):
|
|||||||
issue_queryset = (
|
issue_queryset = (
|
||||||
self.get_queryset()
|
self.get_queryset()
|
||||||
.annotate(cycle_id=F("issue_cycle__cycle_id"))
|
.annotate(cycle_id=F("issue_cycle__cycle_id"))
|
||||||
.annotate(module_id=F("issue_module__module_id"))
|
|
||||||
.annotate(
|
.annotate(
|
||||||
link_count=IssueLink.objects.filter(issue=OuterRef("id"))
|
link_count=IssueLink.objects.filter(issue=OuterRef("id"))
|
||||||
.order_by()
|
.order_by()
|
||||||
|
Loading…
Reference in New Issue
Block a user