mirror of https://github.com/Radarr/Radarr
Ensure movies without year are first in descending order
This commit is contained in:
parent
788782d009
commit
47360d4d38
|
@ -236,6 +236,10 @@ export const sortPredicates = {
|
|||
return padNumber(result.toString(), 2) + qualityName;
|
||||
},
|
||||
|
||||
year: function(item) {
|
||||
return item.year || undefined;
|
||||
},
|
||||
|
||||
inCinemas: function(item) {
|
||||
return item.inCinemas || '';
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue