1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 02:07:41 +00:00

Fixed: An issue with Episode Searches that had full season results

This commit is contained in:
Mark McDowall 2012-05-26 12:17:51 -07:00
parent 25aa39e0f3
commit 4ea55444be

View file

@ -263,7 +263,7 @@ namespace NzbDrone.Core.Providers
searchResult.Successes = new List<int>();
foreach (var episodeParseResult in reports.OrderByDescending(c => c.Quality)
.ThenBy(c => c.EpisodeNumbers.Min())
.ThenBy(c => c.EpisodeNumbers.MinOrDefault())
.ThenBy(c => c.Age))
{
try