fix sortby key, should be confidental and not best

このコミットが含まれているのは:
teddit 2022-06-11 21:55:32 +02:00
コミット a0c74aa309
1個のファイルの変更5行の追加0行の削除

ファイルの表示

@ -611,6 +611,11 @@ subredditRoutes.get(
viewing_comment = true;
}
if (sortby === 'best') {
// in Reddit the sorting "best" is the label, but the actual key "confidence"
sortby = 'confidence';
}
if (!sortby) {
sortby = config.post_comments_sort;
}