1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-20 23:41:20 +00:00

Use adjusted semester sorting function

This commit is contained in:
Mo 2022-05-16 18:37:57 +02:00
parent a8117b7e72
commit b26cd94fa5

View file

@ -63,7 +63,7 @@ def setUserActiveSemester(semesterId):
def initActiveSemesterMenuLinks(space):
with app.app_context():
try:
semesters = Semester.query.order_by(Semester.id.desc())
semesters = sortedSemestersStartingWithNewest()
for semester in semesters:
space.add_link(
MenuLink(