]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
added missing field to the group by. this makes postgres happy
authorBrenda Wallace <shiny@cpan.org>
Sat, 15 May 2010 03:33:55 +0000 (15:33 +1200)
committerBrenda Wallace <shiny@cpan.org>
Sat, 15 May 2010 03:33:55 +0000 (15:33 +1200)
lib/popularnoticesection.php

index 296ddbbb5034b273e5486d25484cdd191142f0d4..f70a972efe90b89974f810f6643abd81159704fa 100644 (file)
@@ -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;