mirror of https://github.com/Sonarr/Sonarr
parent
50a0e9514e
commit
ff33f15bac
|
@ -56,7 +56,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport
|
||||||
|
|
||||||
var importResults = new List<ImportResult>();
|
var importResults = new List<ImportResult>();
|
||||||
|
|
||||||
foreach (var importDecision in qualifiedImports.OrderByDescending(e => e.LocalEpisode.Episodes.Select(episode => episode.EpisodeNumber).MinOrDefault())
|
foreach (var importDecision in qualifiedImports.OrderBy(e => e.LocalEpisode.Episodes.Select(episode => episode.EpisodeNumber).MinOrDefault())
|
||||||
.ThenByDescending(e => e.LocalEpisode.Size))
|
.ThenByDescending(e => e.LocalEpisode.Size))
|
||||||
{
|
{
|
||||||
var localEpisode = importDecision.LocalEpisode;
|
var localEpisode = importDecision.LocalEpisode;
|
||||||
|
|
Loading…
Reference in New Issue