SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 6b51c956 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix.

parent 6cdee7aa
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,7 @@ class SubmissionQuerySet(models.QuerySet):
should be able to view *all* submissions.
"""
return self.filter(visible_public=True).exclude(status__in=[
constants.RESUBMITTED,
constants.STATUS_RESUBMITTED,
constants.PUBLISHED])
def public_newest(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment