diff --git a/modules/db.py b/modules/db.py index f59f76dc..5cef8e5d 100644 --- a/modules/db.py +++ b/modules/db.py @@ -437,6 +437,7 @@ async def load(): cursor = await connection.execute(""" SELECT * FROM labels + ORDER BY lower(name) """) for label in await cursor.fetchall(): Label.add(row_to_cls(label, Label))