From 298eb1cc8fefab0262ffc0060d2c47fb246a208e Mon Sep 17 00:00:00 2001 From: Mo8it Date: Wed, 2 Mar 2022 02:47:30 +0100 Subject: [PATCH] Fix adding to active semester dropdown menu --- advlabdb/adminModelViews.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advlabdb/adminModelViews.py b/advlabdb/adminModelViews.py index c07d721..0f931ab 100644 --- a/advlabdb/adminModelViews.py +++ b/advlabdb/adminModelViews.py @@ -299,7 +299,7 @@ class SemesterView(SecureAdminModelView): category=categoryText, ) - category = self._menu_categories.get(categoryText) + category = space._menu_categories.get(categoryText) link.parent = category category._children.insert(0, link)