forked from github/plane
dev: fix project join
This commit is contained in:
parent
62340b0158
commit
080ab56fca
@ -819,7 +819,7 @@ class ProjectJoinEndpoint(BaseAPIView):
|
||||
|
||||
smallest_sort_order = (
|
||||
ProjectMember.objects.filter(
|
||||
workspace_id=self.project.workspace_id, member=self.member
|
||||
workspace__slug=slug, member=self.member
|
||||
)
|
||||
.aggregate(smallest=Min("sort_order"))
|
||||
.get("smallest", 65535)
|
||||
|
Loading…
Reference in New Issue
Block a user