From f5d0014a40927e6de82a76fc922f265ea269befc Mon Sep 17 00:00:00 2001 From: Jorran de Wit <jorrandewit@outlook.com> Date: Sat, 13 May 2017 20:01:31 +0200 Subject: [PATCH] Remove filter on submission.is_current from listview --- submissions/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submissions/views.py b/submissions/views.py index 712898a51..343f58ca9 100644 --- a/submissions/views.py +++ b/submissions/views.py @@ -191,7 +191,7 @@ class SubmissionListView(ListView): paginate_by = 10 def get_queryset(self): - queryset = Submission.objects.public_overcomplete().filter(is_current=True) + queryset = Submission.objects.public_overcomplete() if 'to_journal' in self.kwargs: queryset = queryset.filter( latest_activity__gte=timezone.now() + datetime.timedelta(days=-60), -- GitLab