From fb046b9f47cb7eba78ac6d4c61e6eb6b69bffd33 Mon Sep 17 00:00:00 2001
From: Jorran de Wit <jorrandewit@outlook.com>
Date: Thu, 12 Apr 2018 12:33:14 +0200
Subject: [PATCH] Suggestion

---
 submissions/views.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/submissions/views.py b/submissions/views.py
index 910111727..124890e11 100644
--- a/submissions/views.py
+++ b/submissions/views.py
@@ -452,13 +452,11 @@ def assign_submission(request, arxiv_identifier_w_vn_nr):
         messages.success(request, 'Your assignment request has been sent successfully.')
         return redirect('submissions:pool')
 
-    fellows_with_expertise = submission.fellows.filter(
-        contributor__expertises__contains=[submission.subject_area])
+    fellows_with_expertise = submission.fellows.all()
     coauthorships = submission.flag_coauthorships_arxiv(fellows_with_expertise)
 
     context = {
         'submission_to_assign': submission,
-        'fellows_with_expertise': fellows_with_expertise,
         'coauthorships': coauthorships,
         'form': form
     }
-- 
GitLab