mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
Fixed: Sorting search releases by language
(cherry picked from commit af55e322f1a9505a0b63739b499d6af72c3105a0) Closes #8597
This commit is contained in:
parent
4eb89eb851
commit
e55c3f7ddf
@ -43,7 +43,7 @@ export const defaultState = {
|
|||||||
return 10000;
|
return 10000;
|
||||||
}
|
}
|
||||||
|
|
||||||
return item.languages[0].id;
|
return item.languages[0]?.id ?? 0;
|
||||||
},
|
},
|
||||||
|
|
||||||
indexerFlags: function(item, direction) {
|
indexerFlags: function(item, direction) {
|
||||||
|
@ -118,6 +118,7 @@ private IEnumerable<DownloadDecision> GetDecisions(List<ReleaseInfo> reports, bo
|
|||||||
{
|
{
|
||||||
Release = report,
|
Release = report,
|
||||||
ParsedMovieInfo = parsedMovieInfo,
|
ParsedMovieInfo = parsedMovieInfo,
|
||||||
|
Languages = parsedMovieInfo.Languages
|
||||||
};
|
};
|
||||||
|
|
||||||
decision = new DownloadDecision(remoteMovie, new Rejection("Unable to parse release"));
|
decision = new DownloadDecision(remoteMovie, new Rejection("Unable to parse release"));
|
||||||
|
Loading…
Reference in New Issue
Block a user