diff options
author | Brenda Wallace <shiny@cpan.org> | 2009-11-26 20:28:20 +1300 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2009-11-26 20:28:20 +1300 |
commit | d50a813eb13c9b5ddc344c928201e40a7974ccff (patch) | |
tree | 8224929401dbd5429e7f21918e785d6374f6d47e | |
parent | dd742a560d4754a5906ed6392e3943e058e41663 (diff) |
added more fields to the group by.
-rw-r--r-- | lib/popularnoticesection.php | 3 |
1 files changed, 2 insertions, 1 deletions
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; |