From d50a813eb13c9b5ddc344c928201e40a7974ccff Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Thu, 26 Nov 2009 20:28:20 +1300 Subject: added more fields to the group by. --- lib/popularnoticesection.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/popularnoticesection.php') diff --git a/lib/popularnoticesection.php b/lib/popularnoticesection.php index 35b914a50..f2d9ca933 100644 --- a/lib/popularnoticesection.php +++ b/lib/popularnoticesection.php @@ -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; -- cgit v1.2.3-54-g00ecf