Episode searches will be done in ascending order now.

pull/4/head
Mark McDowall 13 years ago
parent 3fdfa69b94
commit 19ffd77754

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

@ -23,7 +23,7 @@ namespace NzbDrone.Web.Controllers
public ActionResult Index()
{
var upcomingEpisodes = GetUpcomingEpisodeModels(_upcomingEpisodesProvider.RecentEpisodes());
var upcomingEpisodes = GetUpcomingEpisodeModels(_upcomingEpisodesProvider.UpcomingEpisodes());
var upcoming = new UpcomingEpisodesModel

Loading…
Cancel
Save