From e7b9c0dc9efc6fdc430a184d4ebb3108c1cdde85 Mon Sep 17 00:00:00 2001
From: George Katsikas <giorgakis.katsikas@gmail.com>
Date: Mon, 14 Aug 2023 12:20:08 +0300
Subject: [PATCH] allow visibility of historical papers in the pool

---
 scipost_django/submissions/views/pool/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scipost_django/submissions/views/pool/base.py b/scipost_django/submissions/views/pool/base.py
index 4099e5a82..e17cad115 100644
--- a/scipost_django/submissions/views/pool/base.py
+++ b/scipost_django/submissions/views/pool/base.py
@@ -94,7 +94,7 @@ def pool_hx_submission_details_contents(request, identifier_w_vn_nr):
 @fellowship_or_admin_required()
 def _hx_submission_tab(request, identifier_w_vn_nr, tab):
     submission = get_object_or_404(
-        Submission.objects.in_pool(request.user, historical=True),
+        Submission.objects.in_pool(request.user, historical=True, latest=False),
         preprint__identifier_w_vn_nr=identifier_w_vn_nr,
     )
     context = {
-- 
GitLab