mirror of
https://codeberg.org/teddit/teddit
synced 2025-02-16 12:10:36 +01:00
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;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user