EpisodeSearchJob bug fixes/tests

This commit is contained in:
kay.one 2011-05-26 20:07:32 -07:00
commit 5a812801b7
4 changed files with 162 additions and 5 deletions

View file

@ -64,7 +64,7 @@ namespace NzbDrone.Core.Providers.Jobs
public void ProcessResults(ProgressNotification notification, Episode episode, IEnumerable<EpisodeParseResult> reports)
{
foreach (var episodeParseResult in reports.OrderBy(c => c.Quality).ThenBy(c => c.Proper))
foreach (var episodeParseResult in reports.OrderByDescending(c => c.Quality).ThenByDescending(c => c.Proper))
{
try
{