mirror of
https://codeberg.org/teddit/teddit.git
synced 2026-03-05 13:30:33 -05:00
fix sortby key, should be confidental and not best
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user