added more fields to the group by.

This commit is contained in:
Brenda Wallace 2009-11-26 20:28:20 +13:00
parent dd742a560d
commit d50a813eb1

View File

@ -68,7 +68,8 @@ 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.conversation ' .
'notice.reply_to,notice.is_local,notice.source,notice.conversation, ' .
'notice.lat,notice.long,location_id,location_ns' .
'ORDER BY weight DESC';
$offset = 0;