mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 20:12:41 +02:00
Fixed: Sort by Monitor-Status Column
This commit is contained in:
parent
634697af2d
commit
ae6a95bad8
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user