1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 10:32:35 +01: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 @@ public List<SearchHistoryItem> ProcessSearchResults(ProgressNotification notific
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