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/includes/mcp/mcp_main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/mcp/mcp_main.php') diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php index 92000c6ceb..f03bc034e4 100644 --- a/phpBB/includes/mcp/mcp_main.php +++ b/phpBB/includes/mcp/mcp_main.php @@ -1265,7 +1265,7 @@ function mcp_fork_topic($topic_ids) $sql = 'SELECT * FROM ' . POSTS_TABLE . " WHERE topic_id = $topic_id - ORDER BY post_time ASC"; + ORDER BY post_time ASC, post_id ASC"; $result = $db->sql_query($sql); $post_rows = array(); -- cgit v1.2.1