SciPost Code Repository

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

fix(pool): 🩹 filter authors from pool add fellow

parent 9714e581
No related branches found
No related tags found
No related merge requests found
......@@ -267,6 +267,7 @@ class SubmissionAddFellowshipForm(forms.ModelForm):
self.fields["fellowship"].label = ""
self.fields["fellowship"].queryset = (
Fellowship.objects.active()
.without_authorship_of_submission(self.instance)
.filter(college=self.instance.submitted_to.college)
.exclude(id__in=pool)
)
......
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