UI tweaks / fixes (#11479)

* Update coloring of logs button

* Fix paging after submitting

* Fix sorting

* Add icon
This commit is contained in:
Nicolas Mowen
2024-05-22 07:14:48 -06:00
committed by GitHub
parent 592b645231
commit c49be0a47f
3 changed files with 9 additions and 9 deletions

View File

@@ -227,9 +227,9 @@ def events():
elif sort == "score_desc":
order_by = Event.data["score"].desc()
elif sort == "date_asc":
Event.start_time.asc()
order_by = Event.start_time.asc()
elif sort == "date_desc":
Event.start_time.desc()
order_by = Event.start_time.desc()
else:
order_by = Event.start_time.desc()