summaryrefslogtreecommitdiff
path: root/lib/popularnoticesection.php
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2010-05-15 15:56:43 +1200
committerBrenda Wallace <shiny@cpan.org>2010-05-17 14:17:49 +1200
commit48dc899acb9a0ac87140353092dab1f5e67753d8 (patch)
tree632abddf5d9942d9833aebaa8dd40b90a536ce05 /lib/popularnoticesection.php
parent6f19830c9a1f7f73e6a3b09e78f22f65eb1779c4 (diff)
added notice.location to group by
Diffstat (limited to 'lib/popularnoticesection.php')
-rw-r--r--lib/popularnoticesection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/popularnoticesection.php b/lib/popularnoticesection.php
index f70a972ef..3f0241790 100644
--- a/lib/popularnoticesection.php
+++ b/lib/popularnoticesection.php
@@ -72,7 +72,7 @@ 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.lat,notice.lon,location_id,location_ns,notice.repeat_of' .
+ 'notice.lat,notice.lon,location_id,location_ns,notice.repeat_of,notice.location' .
' ORDER BY weight DESC';
$offset = 0;