mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-09-19 18:31:16 +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
|
@staticmethod
|
||||||
def semesterQueryFactory():
|
def semesterQueryFactory():
|
||||||
return Semester.query
|
return Semester.query.order_by(Semester.id.desc())
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def default_roles():
|
def default_roles():
|
||||||
|
|
Loading…
Reference in a new issue