SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit e435d654 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

keep distinct submissions when many fellowships

parent 582e3e92
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,7 @@ class SubmissionQuerySet(models.QuerySet):
# for non-EdAdmin, filter: in Submission's Fellowship
if not user.contributor.is_ed_admin:
f_ids = user.contributor.fellowships.active()
qs = qs.filter(fellows__in=f_ids)
qs = qs.filter(fellows__in=f_ids).distinct()
if user.contributor.is_scipost_admin:
pass
......
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