From 1f2a1e32066b276bcd62534682bcd9e8efe34f6d Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Mon, 5 Sep 2011 15:26:53 -0700 Subject: [PATCH] Season searching fallback to individual episodes will done in order from 1 to n. --- NzbDrone.Core/Providers/Jobs/SeasonSearchJob.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NzbDrone.Core/Providers/Jobs/SeasonSearchJob.cs b/NzbDrone.Core/Providers/Jobs/SeasonSearchJob.cs index cfc224537..9baea7270 100644 --- a/NzbDrone.Core/Providers/Jobs/SeasonSearchJob.cs +++ b/NzbDrone.Core/Providers/Jobs/SeasonSearchJob.cs @@ -73,7 +73,7 @@ public virtual void Start(ProgressNotification notification, int targetId, int s var missingEpisodes = episodeNumbers.Except(addedSeries).ToList(); //Only process episodes that is in missing episodes (To ensure we double check if the episode is available) - foreach (var episode in episodes.Where(e => !e.Ignored && missingEpisodes.Contains(e.EpisodeNumber))) + foreach (var episode in episodes.Where(e => !e.Ignored && missingEpisodes.Contains(e.EpisodeNumber)).OrderBy(o => o.EpisodeNumber)) { _episodeSearchJob.Start(notification, episode.EpisodeId, 0); }