From ff33f15bac39a7e419ca090b2ce70d2a9e7746dd Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 4 Oct 2016 10:20:48 -0700 Subject: [PATCH] Fixed: Import episodes in season packs in numerical order Closes #1485 --- .../MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs b/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs index c636e60b7..dd86ff98e 100644 --- a/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs +++ b/src/NzbDrone.Core/MediaFiles/EpisodeImport/ImportApprovedEpisodes.cs @@ -56,7 +56,7 @@ namespace NzbDrone.Core.MediaFiles.EpisodeImport var importResults = new List(); - 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)) { var localEpisode = importDecision.LocalEpisode;