mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
fix: use query param sort over user setting if it's set
regression from 77ddfc642e
This commit is contained in:
@@ -270,7 +270,7 @@ define('forum/topic/posts', [
|
||||
after: after + (direction > 0 ? 1 : 0),
|
||||
count: config.postsPerPage,
|
||||
direction: direction,
|
||||
topicPostSort: config.topicPostSort,
|
||||
topicPostSort: utils.params().sort || config.topicPostSort,
|
||||
}, function (data, done) {
|
||||
indicatorEl.fadeOut();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user