mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
Use adjusted semester sorting function
This commit is contained in:
parent
a8117b7e72
commit
b26cd94fa5
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue