add missing group by item, to make database that aren't mysql happy

This commit is contained in:
Brenda Wallace 2009-06-24 21:31:10 +12:00
parent 57903bf2ac
commit 56496a2cb5

View File

@ -68,7 +68,7 @@ class PopularNoticeSection extends NoticeSection
} }
$qry .= ' GROUP BY notice.id,notice.profile_id,notice.content,notice.uri,' . $qry .= ' GROUP BY notice.id,notice.profile_id,notice.content,notice.uri,' .
'notice.rendered,notice.url,notice.created,notice.modified,' . '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'; 'ORDER BY weight DESC';
$offset = 0; $offset = 0;