Skip to content

Commit

Permalink
[ADMIN] Optimizes class page even more (hedyorg#4356)
Browse files Browse the repository at this point in the history
* removes sorting
  • Loading branch information
Felienne authored Jun 21, 2023
1 parent 5aff258 commit 5622932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def get_admin_classes_page(self, user):
]

active_classes = [x for x in classes if x["weekly_runs"] > 0]
classes = sorted(classes, key=lambda d: d["weekly_runs"], reverse=True)
#classes = sorted(classes, key=lambda d: d["weekly_runs"], reverse=True)

return render_template("admin/admin-classes.html",
active_classes=active_classes,
Expand Down

0 comments on commit 5622932

Please sign in to comment.