fix: issue comment ordering for public boards (#2108)

This commit is contained in:
Nikhil 2023-09-07 13:21:05 +05:30 committed by GitHub
parent 9c3510851d
commit 866eead35f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1575,7 +1575,7 @@ class IssueCommentPublicViewSet(BaseViewSet):
) )
) )
.distinct() .distinct()
) ).order_by("created_at")
else: else:
return IssueComment.objects.none() return IssueComment.objects.none()
except ProjectDeployBoard.DoesNotExist: except ProjectDeployBoard.DoesNotExist: