diff --git a/scipost_django/submissions/views/__init__.py b/scipost_django/submissions/views/__init__.py index 8b095538c5797b53ab9b0d4734404e7c8061be2f..11d0fbf3244569b8fbd863ae31c33d7448ae83ce 100644 --- a/scipost_django/submissions/views/__init__.py +++ b/scipost_django/submissions/views/__init__.py @@ -3268,6 +3268,13 @@ class PlagiarismReportPDFView( permission_required = "scipost.can_do_plagiarism_checks" editorial_page = True + # Reset queryset to all submissions (if user is edadmin) + def get_queryset(self): + if is_edadmin(self.request.user): + return Submission.objects.all() + else: + return super().get_queryset() + def get_redirect_url(self, *args, **kwargs): """Get the temporary url provided by the iThenticate API.""" submission = self.get_object()