Skip to content
Snippets Groups Projects
Verified Commit 92354434 authored by Dorian Koch's avatar Dorian Koch
Browse files

Fix latest lecture order

parent 23c21a40
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ def _db_execute_get_homepage(session: SessionDb, is_mod: bool):
],
visibility_check=True,
)
.order_by(Lecture.publish_time.desc(), Lecture.id.asc())
.order_by(Lecture.publish_time.desc(), Lecture.time.desc(), Lecture.id.asc())
.limit(6)
).all()
featured = session.scalars(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment