]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add missing group by item, to make database that aren't mysql happy
authorBrenda Wallace <shiny@cpan.org>
Wed, 24 Jun 2009 09:31:10 +0000 (21:31 +1200)
committerBrenda Wallace <shiny@cpan.org>
Wed, 24 Jun 2009 09:31:10 +0000 (21:31 +1200)
lib/popularnoticesection.php

index 375d5538be72ebfa2aa02922a3164f81101f29f8..e47c9b3855d22c22e65b2707d1830511ee7930f6 100644 (file)
@@ -68,7 +68,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.reply_to,notice.is_local,notice.source,notice.conversation ' .
                 'ORDER BY weight DESC';
 
         $offset = 0;