]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Undo my previous change that breaks the Popular Notices section on the public timelin...
authorCiaranG <ciaran@ciarang.com>
Thu, 5 Mar 2009 14:35:50 +0000 (14:35 +0000)
committerCiaranG <ciaran@ciarang.com>
Thu, 5 Mar 2009 14:35:50 +0000 (14:35 +0000)
lib/popularnoticesection.php

index f7fb935543a761c3d98f448fae6fd6360e14df44..cbf458c34f04240bf8890637989be010f6afb6b6 100644 (file)
@@ -54,7 +54,7 @@ class PopularNoticeSection extends NoticeSection
             $weightexpr='sum(exp(-(now() - fave.modified) / %s))';
         }
 
-        $qry = 'SELECT notice.id, '.
+        $qry = 'SELECT notice.*, '.
           $weightexpr . ' as weight ' .
           'FROM notice JOIN fave ON notice.id = fave.notice_id ' .
           'GROUP BY notice.id ' .