diff options
author | Brenda Wallace <shiny@cpan.org> | 2009-06-25 22:35:41 +1200 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2009-06-25 22:35:41 +1200 |
commit | bd9824c8d563bbd2d9f9ed259341f0e2fc1ffdf1 (patch) | |
tree | be938e804e3304b4f65c15f0408e40948a1a691d | |
parent | 56496a2cb56263fed1eb53313057686f9fd55b63 (diff) |
added missing conversation column to group by
-rw-r--r-- | actions/favorited.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/favorited.php b/actions/favorited.php index c902d80f5..156c7a700 100644 --- a/actions/favorited.php +++ b/actions/favorited.php @@ -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; |