summaryrefslogtreecommitdiff
path: root/classes/Notice.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-12-17 15:13:09 -0800
committerBrion Vibber <brion@pobox.com>2010-12-17 15:13:09 -0800
commit1b90ed564a19dcb3d24d0c0620ce0623773fe4d0 (patch)
treeb84e400ee115c75c2e95b70b206106c98b6d33c3 /classes/Notice.php
parent04aa8bd70f0c3f84af349b8a801ea73753077760 (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.php2
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);