aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/feed/topic.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-08-23 16:36:39 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-08-23 16:36:39 +0200
commite5e45f860b798c955f1817001f07aabcbccbabcf (patch)
treead24053bcae50549245054ac8b75e4965a810d3c /phpBB/phpbb/feed/topic.php
parent752c73193e04f7eb22b3b90ad746a6b277e59272 (diff)
downloadforums-e5e45f860b798c955f1817001f07aabcbccbabcf.tar
forums-e5e45f860b798c955f1817001f07aabcbccbabcf.tar.gz
forums-e5e45f860b798c955f1817001f07aabcbccbabcf.tar.bz2
forums-e5e45f860b798c955f1817001f07aabcbccbabcf.tar.xz
forums-e5e45f860b798c955f1817001f07aabcbccbabcf.zip
[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
Diffstat (limited to 'phpBB/phpbb/feed/topic.php')
-rw-r--r--phpBB/phpbb/feed/topic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/feed/topic.php b/phpBB/phpbb/feed/topic.php
index 78e0b4b8ab..66c49e55cf 100644
--- a/phpBB/phpbb/feed/topic.php
+++ b/phpBB/phpbb/feed/topic.php
@@ -101,7 +101,7 @@ class topic extends \phpbb\feed\post_base
'WHERE' => 'p.topic_id = ' . $this->topic_id . '
AND ' . $this->content_visibility->get_visibility_sql('post', $this->forum_id, 'p.') . '
AND p.poster_id = u.user_id',
- 'ORDER_BY' => 'p.post_time DESC',
+ 'ORDER_BY' => 'p.post_time DESC, p.post_id DESC',
);
return true;