]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
added notice.location to group by
authorBrenda Wallace <shiny@cpan.org>
Sat, 15 May 2010 03:56:43 +0000 (15:56 +1200)
committerBrenda Wallace <shiny@cpan.org>
Mon, 17 May 2010 02:17:49 +0000 (14:17 +1200)
lib/popularnoticesection.php

index f70a972efe90b89974f810f6643abd81159704fa..3f024179018b55bd33b415b2fccf30d283e26352 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.repeat_of' .
+                'notice.lat,notice.lon,location_id,location_ns,notice.repeat_of,notice.location' .
                 ' ORDER BY weight DESC';
 
         $offset = 0;