mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 07:22:35 +01:00
Fixed: Sorting search releases by language
This commit is contained in:
parent
3ac5edeb09
commit
af55e322f1
@ -44,7 +44,7 @@ export const defaultState = {
|
||||
return 10000;
|
||||
}
|
||||
|
||||
return item.languages[0].id;
|
||||
return item.languages[0]?.id ?? 0;
|
||||
},
|
||||
|
||||
rejections: function(item, direction) {
|
||||
|
@ -138,6 +138,7 @@ namespace NzbDrone.Core.DecisionEngine
|
||||
{
|
||||
Release = report,
|
||||
ParsedEpisodeInfo = parsedEpisodeInfo,
|
||||
Languages = parsedEpisodeInfo.Languages
|
||||
};
|
||||
|
||||
decision = new DownloadDecision(remoteEpisode, new Rejection("Unable to parse release"));
|
||||
|
Loading…
Reference in New Issue
Block a user