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)