mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-11-08 21:21:06 +00:00
Sort semester starting with newest
This commit is contained in:
parent
1d8c5db16c
commit
0b4316a713
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class UserView(SecureAdminModelView):
|
|||
|
||||
@staticmethod
|
||||
def semesterQueryFactory():
|
||||
return Semester.query
|
||||
return Semester.query.order_by(Semester.id.desc())
|
||||
|
||||
@staticmethod
|
||||
def default_roles():
|
||||
|
|
Loading…
Reference in a new issue