]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/popularnoticesection.php
Undo my previous change that breaks the Popular Notices section on the public timelin...
[quix0rs-gnu-social.git] / 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 ' .