mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-23 00:07:07 +00:00
Fixed: Sorting by age when releases are less than a day old
Fixes #3012
This commit is contained in:
parent
b6257400ec
commit
5272078ea3
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,9 @@ export const defaultState = {
|
|||
sortKey: 'releaseWeight',
|
||||
sortDirection: sortDirections.ASCENDING,
|
||||
sortPredicates: {
|
||||
age: function(item, direction) {
|
||||
return item.ageMinutes;
|
||||
},
|
||||
peers: function(item, direction) {
|
||||
const seeders = item.seeders || 0;
|
||||
const leechers = item.leechers || 0;
|
||||
|
|
Loading…
Reference in a new issue