fix: sort setting not using correct field name

This commit is contained in:
Barış Soner Uşaklı
2020-10-28 16:05:40 -04:00
parent c4431294a5
commit 9082062e90
3 changed files with 4 additions and 4 deletions

View File

@@ -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);