Fix organization submissions
This commit is contained in:
parent
a02814621e
commit
1595063463
2 changed files with 8 additions and 7 deletions
|
@ -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)
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue