From 18ae6bacb0263ddccd5791ef2fa14d7cf734859e Mon Sep 17 00:00:00 2001 From: Mo8it Date: Sat, 21 May 2022 18:44:40 +0200 Subject: [PATCH] Fix typo --- advlabdb/adminModelViews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advlabdb/adminModelViews.py b/advlabdb/adminModelViews.py index f245edf..23f595a 100644 --- a/advlabdb/adminModelViews.py +++ b/advlabdb/adminModelViews.py @@ -628,7 +628,7 @@ class GroupView(SecureAdminModelView): refreshFiltersCache = True def query_modifier(self, query): - return query.wher(Group.semester == current_user.active_semester) + return query.where(Group.semester == current_user.active_semester) def customCreateModel(self, form): return Group.customInit(form.part_students.data)