[addon] apply sort by seeders pruning first when sorting by size
This commit is contained in:
@@ -55,7 +55,7 @@ function sortBySeeders(streams, limit) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function sortBySize(streams, limit) {
|
function sortBySize(streams, limit) {
|
||||||
return streams
|
return sortBySeeders(streams)
|
||||||
.sort((a, b) => {
|
.sort((a, b) => {
|
||||||
const aSize = extractSize(a.title);
|
const aSize = extractSize(a.title);
|
||||||
const bSize = extractSize(b.title);
|
const bSize = extractSize(b.title);
|
||||||
|
|||||||
Reference in New Issue
Block a user