]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
added more fields to the group by.
authorBrenda Wallace <shiny@cpan.org>
Thu, 26 Nov 2009 07:28:20 +0000 (20:28 +1300)
committerBrenda Wallace <shiny@cpan.org>
Thu, 26 Nov 2009 07:28:20 +0000 (20:28 +1300)
lib/popularnoticesection.php

index 35b914a50c056303fe02222d3600f1837b7c8196..f2d9ca933164ec38dcf26d4ccadf935a7a4980c3 100644 (file)
@@ -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;