From: Ari Johnson Date: Tue, 4 Mar 2008 22:28:36 +0000 (+0000) Subject: Fixed a bug in the SQL version of MSG_LIST which relied on a default row separator... X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=3d943b0934efde04acca9b10970990c9e4101e48;p=cobranet.git Fixed a bug in the SQL version of MSG_LIST which relied on a default row separator of ' ' --- 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