summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2010-05-15 15:33:55 +1200
committerBrenda Wallace <shiny@cpan.org>2010-05-15 15:33:55 +1200
commit9bb18541df68b5a921d366c8cfb578887178b694 (patch)
treee1bd9cdc435570fe5760e2d75ff6e0ac777f143c
parent7bd6b62461551f26fa5571b72b260d4e92c9bfd5 (diff)
added missing field to the group by. this makes postgres happy
-rw-r--r--lib/popularnoticesection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/popularnoticesection.php b/lib/popularnoticesection.php
index 296ddbbb5..f70a972ef 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.lat,notice.lon,location_id,location_ns,notice.repeat_of' .
' ORDER BY weight DESC';
$offset = 0;