From 6a04c3f8688006ee0ffc8c86481df88caa113ddc Mon Sep 17 00:00:00 2001 From: ReneKlever Date: Sun, 13 Apr 2025 13:40:36 +0200 Subject: [PATCH] Update db_operations.py --- db_operations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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():