mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-26 23:06:43 -04:00
Fixed: UI now properly sorts on the Peers column.
This commit is contained in:
@@ -30,7 +30,14 @@ define(
|
||||
return releaseWeight;
|
||||
}
|
||||
},
|
||||
'download' : { sortKey: 'releaseWeight' }
|
||||
'download' : { sortKey: 'releaseWeight' },
|
||||
'seeders' : { sortValue: function(model) {
|
||||
var seeders = model.get('seeders') || 0;
|
||||
var leechers = model.get('leechers') || 0;
|
||||
|
||||
return seeders * 1000000 + leechers;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
fetchEpisodeReleases: function (episodeId) {
|
||||
|
||||
Reference in New Issue
Block a user