[addon] apply sort by seeders pruning first when sorting by size

This commit is contained in:
TheBeastLT
2020-05-24 10:35:16 +02:00
parent ee9491c4fa
commit 05c55af5c4

View File

@@ -55,7 +55,7 @@ function sortBySeeders(streams, limit) {
}
function sortBySize(streams, limit) {
return streams
return sortBySeeders(streams)
.sort((a, b) => {
const aSize = extractSize(a.title);
const bSize = extractSize(b.title);