From 3d943b0934efde04acca9b10970990c9e4101e48 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Tue, 4 Mar 2008 22:28:36 +0000 Subject: [PATCH] Fixed a bug in the SQL version of MSG_LIST which relied on a default row separator of ' ' --- sql.minc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql.minc b/sql.minc index 08367f6..2150a4d 100644 --- a/sql.minc +++ b/sql.minc @@ -62,7 +62,7 @@ @@/ /@@ Get Ordered Message List for a bord @@/ -#define MSG_LIST(BOARD_ID) sql({select id from messages where boards regexp "(^BOARD_ID$|^(.*) BOARD_ID$|^BOARD_ID (.*)$|^(.*) BOARD_ID (.*)$)" and posted=1 ORDER BY date},,) +#define MSG_LIST(BOARD_ID) sql({select id from messages where boards regexp "(^BOARD_ID$|^(.*) BOARD_ID$|^BOARD_ID (.*)$|^(.*) BOARD_ID (.*)$)" and posted=1 ORDER BY date},%b,) /@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ @ SQL Updates -- 2.30.2