diff --git a/advlabdb/adminModelViews.py b/advlabdb/adminModelViews.py index c06a60d..e78ba6e 100644 --- a/advlabdb/adminModelViews.py +++ b/advlabdb/adminModelViews.py @@ -651,10 +651,13 @@ class ExperimentMarkView(SecureAdminModelView): ] column_default_sort = [("oral_mark", False), ("protocol_mark", False)] + """ + # Deactivated for the experiments hisotry of a student. def queryFilter(self): return ExperimentMark.group_experiment.has( GroupExperiment.semester_experiment.has(SemesterExperiment.semester == userActiveSemester()) ) + """ def checkForm(form): if form.oral_mark and form.oral_mark.data == -1: