From 477a5c91c3f8976687734e9e099e54fa304da12d Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Sat, 19 May 2018 22:29:26 +0200
Subject: [PATCH] Fix.

---
 submissions/managers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/submissions/managers.py b/submissions/managers.py
index a97f478f8..d290c9efd 100644
--- a/submissions/managers.py
+++ b/submissions/managers.py
@@ -130,7 +130,7 @@ class SubmissionQuerySet(models.QuerySet):
         """
         return self.filter(visible_public=True).exclude(status__in=[
             constants.STATUS_RESUBMITTED,
-            constants.PUBLISHED])
+            constants.STATUS_PUBLISHED])
 
     def public_newest(self):
         """
-- 
GitLab