]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
The correct version of the bad fix I undid in the previous commit. Must explicitly...
authorCiaranG <ciaran@ciarang.com>
Thu, 5 Mar 2009 14:52:35 +0000 (14:52 +0000)
committerCiaranG <ciaran@ciarang.com>
Thu, 5 Mar 2009 14:52:35 +0000 (14:52 +0000)
lib/popularnoticesection.php

index cbf458c34f04240bf8890637989be010f6afb6b6..0505f0fa9ac857b1846ee838ce81e4b83b620219 100644 (file)
@@ -57,7 +57,9 @@ class PopularNoticeSection extends NoticeSection
         $qry = 'SELECT notice.*, '.
           $weightexpr . ' as weight ' .
           'FROM notice JOIN fave ON notice.id = fave.notice_id ' .
-          'GROUP BY notice.id ' .
+          '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 ' .
           'ORDER BY weight DESC';
 
         $offset = 0;