mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 04:25:55 +01:00
fix: sort setting not using correct field name
This commit is contained in:
@@ -49,7 +49,7 @@ define('forum/topic', [
|
||||
threadTools.init(tid, $('.topic'));
|
||||
events.init();
|
||||
|
||||
sort.handleSort('topicPostSort', 'setTopicSort', 'topic/' + ajaxify.data.slug);
|
||||
sort.handleSort('topicPostSort', 'topic/' + ajaxify.data.slug);
|
||||
|
||||
if (!config.usePagination) {
|
||||
infinitescroll.init($('[component="topic"]'), posts.loadMorePosts);
|
||||
|
||||
Reference in New Issue
Block a user