1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00

Fix adding to active semester dropdown menu

This commit is contained in:
Mo 2022-03-02 02:47:30 +01:00
parent d50ce61abb
commit 298eb1cc8f

View file

@ -299,7 +299,7 @@ class SemesterView(SecureAdminModelView):
category=categoryText, category=categoryText,
) )
category = self._menu_categories.get(categoryText) category = space._menu_categories.get(categoryText)
link.parent = category link.parent = category
category._children.insert(0, link) category._children.insert(0, link)