From: Yoan Le Clanche Date: Thu, 5 Jul 2018 09:37:05 +0000 (+0200) Subject: fix : students can not filter scripts anymore X-Git-Tag: 1.3.1~15^2~2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=804f2b1182b8b406f6cb8c515a3f303f4d486293;p=teleforma.git fix : students can not filter scripts anymore --- diff --git a/teleforma/exam/views.py b/teleforma/exam/views.py index 15ab2af7..1380d5db 100755 --- a/teleforma/exam/views.py +++ b/teleforma/exam/views.py @@ -38,7 +38,7 @@ class ScriptsListMixinView(ScriptMixinView): professor = user.professor.all() if professor: return PROFESSOR - if user.corrector_scripts: + if user.quotas.all(): return CORRECTOR return STUDENT