fix sortby key, should be confidental and not best
This commit is contained in:
parent
4663b3a78d
commit
a0c74aa309
|
@ -611,6 +611,11 @@ subredditRoutes.get(
|
||||||
viewing_comment = true;
|
viewing_comment = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (sortby === 'best') {
|
||||||
|
// in Reddit the sorting "best" is the label, but the actual key "confidence"
|
||||||
|
sortby = 'confidence';
|
||||||
|
}
|
||||||
|
|
||||||
if (!sortby) {
|
if (!sortby) {
|
||||||
sortby = config.post_comments_sort;
|
sortby = config.post_comments_sort;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue