]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/favorited.php
added missing conversation column to group by
[quix0rs-gnu-social.git] / actions / favorited.php
index 09ab1216a64cdfa256a1e4a6b3dda9ace53bbac3..156c7a70094a68513f22ec298d568146a0b0324e 100644 (file)
@@ -85,7 +85,7 @@ class FavoritedAction extends Action
      * @return boolean true
      */
 
-    function isReadOnly()
+    function isReadOnly($args)
     {
         return true;
     }
@@ -194,7 +194,7 @@ class FavoritedAction extends Action
         $qry = 'SELECT notice.*, '.
           $weightexpr . ' as weight ' .
           'FROM notice JOIN fave ON notice.id = fave.notice_id ' .
-          'GROUP BY id,profile_id,uri,content,rendered,url,created,notice.modified,reply_to,is_local,source ' .
+          'GROUP BY id,profile_id,uri,content,rendered,url,created,notice.modified,reply_to,is_local,source,notice.conversation ' .
           'ORDER BY weight DESC';
 
         $offset = ($this->page - 1) * NOTICES_PER_PAGE;