From d50a813eb13c9b5ddc344c928201e40a7974ccff Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Thu, 26 Nov 2009 20:28:20 +1300 Subject: [PATCH] added more fields to the group by. --- lib/popularnoticesection.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/popularnoticesection.php b/lib/popularnoticesection.php index 35b914a50c..f2d9ca9331 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; -- 2.39.5