1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Fixed: Sorting search releases by language

(cherry picked from commit af55e322f1a9505a0b63739b499d6af72c3105a0)

Closes #8597
This commit is contained in:
Bogdan
2023-05-26 23:19:42 +03:00
parent 4eb89eb851
commit e55c3f7ddf
2 changed files with 2 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ export const defaultState = {
return 10000;
}
return item.languages[0].id;
return item.languages[0]?.id ?? 0;
},
indexerFlags: function(item, direction) {