From: Brenda Wallace Date: Wed, 24 Jun 2009 09:31:10 +0000 (+1200) Subject: add missing group by item, to make database that aren't mysql happy X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=56496a2cb56263fed1eb53313057686f9fd55b63;p=quix0rs-gnu-social.git add missing group by item, to make database that aren't mysql happy --- diff --git a/lib/popularnoticesection.php b/lib/popularnoticesection.php index 375d5538be..e47c9b3855 100644 --- a/lib/popularnoticesection.php +++ b/lib/popularnoticesection.php @@ -68,7 +68,7 @@ class PopularNoticeSection extends NoticeSection } $qry .= ' GROUP BY notice.id,notice.profile_id,notice.content,notice.uri,' . 'notice.rendered,notice.url,notice.created,notice.modified,' . - 'notice.reply_to,notice.is_local,notice.source ' . + 'notice.reply_to,notice.is_local,notice.source,notice.conversation ' . 'ORDER BY weight DESC'; $offset = 0;