1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Fixed: Sort by Monitor-Status Column

This commit is contained in:
Qstick 2019-10-28 22:58:52 -04:00
parent 634697af2d
commit ae6a95bad8

View File

@ -107,11 +107,19 @@ export const sortPredicates = {
let result = 0; let result = 0;
if (item.monitored) { if (item.monitored) {
result += 4;
}
if (item.status === 'announced') {
result++;
}
if (item.status === 'inCinemas') {
result += 2; result += 2;
} }
if (item.status === 'continuing') { if (item.status === 'released') {
result++; result += 3;
} }
return result; return result;