summaryrefslogtreecommitdiff
path: root/lib/popularnoticesection.php
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-12-03 00:10:49 +0000
committerBrenda Wallace <shiny@cpan.org>2009-12-03 00:10:49 +0000
commitce46cce73ef8e1c60888755586919afdf9afee14 (patch)
tree0f770974536bc4d9b67d42ef8016419a5627f1a3 /lib/popularnoticesection.php
parente42c18ededbc4b8c8e4ef89a7e7a324e6c7c8a8a (diff)
parent3e38d376a9ed53d6a6268106a7a85c1e9f131034 (diff)
Merge commit 'origin/0.9.x' into 0.9.x
Diffstat (limited to 'lib/popularnoticesection.php')
-rw-r--r--lib/popularnoticesection.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/popularnoticesection.php b/lib/popularnoticesection.php
index 35b914a50..9fbc9d2dd 100644
--- a/lib/popularnoticesection.php
+++ b/lib/popularnoticesection.php
@@ -68,8 +68,9 @@ 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 ' .
- 'ORDER BY weight DESC';
+ 'notice.reply_to,notice.is_local,notice.source,notice.conversation, ' .
+ 'notice.lat,notice.lon,location_id,location_ns' .
+ ' ORDER BY weight DESC';
$offset = 0;
$limit = NOTICES_PER_SECTION + 1;