diff options
author | Brion Vibber <brion@pobox.com> | 2010-12-17 15:13:09 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-12-17 15:13:09 -0800 |
commit | 1b90ed564a19dcb3d24d0c0620ce0623773fe4d0 (patch) | |
tree | b84e400ee115c75c2e95b70b206106c98b6d33c3 /classes/Notice.php | |
parent | 04aa8bd70f0c3f84af349b8a801ea73753077760 (diff) |
Update sorting on api/statuses/retweets: adds notice_repeat_of_created_id_idx index to replace notice_repeatof_idx
Diffstat (limited to 'classes/Notice.php')
-rw-r--r-- | classes/Notice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Notice.php b/classes/Notice.php index c58705c4b..ea69a5bed 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -1690,7 +1690,7 @@ class Notice extends Memcached_DataObject $notice->repeat_of = $this->id; - $notice->orderBy('created'); // NB: asc! + $notice->orderBy('created, id'); // NB: asc! if (!is_null($limit)) { $notice->limit(0, $limit); |