mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-27 18:20:08 +02:00
[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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user