From e5e45f860b798c955f1817001f07aabcbccbabcf Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 23 Aug 2014 16:36:39 +0200 Subject: [ticket/12966] Sort by post_time and post_id where applicable This change was not applied to the search as this would require a larger rewrite of the search methods. PHPBB3-12966 --- phpBB/phpbb/feed/topics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/phpbb/feed/topics.php') diff --git a/phpBB/phpbb/feed/topics.php b/phpBB/phpbb/feed/topics.php index 88ca7c33f3..2b9cb3501a 100644 --- a/phpBB/phpbb/feed/topics.php +++ b/phpBB/phpbb/feed/topics.php @@ -71,7 +71,7 @@ class topics extends \phpbb\feed\topic_base ), 'WHERE' => 'p.topic_id = t.topic_id AND ' . $this->db->sql_in_set('p.post_id', $post_ids), - 'ORDER_BY' => 'p.post_time DESC', + 'ORDER_BY' => 'p.post_time DESC, p.post_id DESC', ); return true; -- cgit v1.2.1