Fix organization submissions

This commit is contained in:
cuom1999 2023-07-06 22:37:43 +07:00
parent a02814621e
commit 1595063463
2 changed files with 8 additions and 7 deletions

View file

@ -441,7 +441,7 @@ class OrganizationSubmissions(
LoginRequiredMixin, MemberOrganizationMixin, SubmissionsListBase
):
template_name = "organization/submissions.html"
@cached_property
def in_contest(self):
return False
@ -453,7 +453,7 @@ class OrganizationSubmissions(
def get_queryset(self):
return (
super()
._get_entire_queryset()
.get_queryset()
.filter(contest_object__organizations=self.organization)
)