diff --git a/server.py b/server.py index caa5e3d54f528ba506680db9cc0b2a55e5cf73e8..769097e8c25d5244a4dfc9245765f39190b81d1f 100755 --- a/server.py +++ b/server.py @@ -1149,7 +1149,7 @@ def delete_error(error): @app.route("/todomails/list") @login_required def list_todomails(): - todomails = sorted(TodoMail.query.all(), key=lambda tm: tm.name) + todomails = sorted(TodoMail.query.all(), key=lambda tm: tm.name.lower()) todomails_table = TodoMailsTable(todomails) return render_template("todomails-list.html", todomails=todomails, todomails_table=todomails_table)