diff --git a/db_operations.py b/db_operations.py index 1fb31d5..28a8c9e 100644 --- a/db_operations.py +++ b/db_operations.py @@ -93,7 +93,7 @@ def add_bulletin(board, sender_short_name, subject, content, bbs_nodes, interfac def get_bulletins(board): conn = get_db_connection() c = conn.cursor() - c.execute("SELECT id, subject, sender_short_name, date, unique_id FROM bulletins WHERE board = ? COLLATE NOCASE", (board,)) + c.execute("SELECT id, subject, sender_short_name, date, unique_id FROM bulletins WHERE board = ? COLLATE NOCASE order by date desc", (board,)) return c.fetchall() def get_hot_bulletins():