New: Series search will search starting with the lowest season

This commit is contained in:
Mark McDowall
2014-11-06 17:13:40 -08:00
parent c58c8ea542
commit 730aba4408
3 changed files with 84 additions and 2 deletions
@@ -1,4 +1,5 @@
using NLog;
using System.Linq;
using NLog;
using NzbDrone.Common.Instrumentation.Extensions;
using NzbDrone.Core.Download;
using NzbDrone.Core.Messaging.Commands;
@@ -30,7 +31,7 @@ namespace NzbDrone.Core.IndexerSearch
var downloadedCount = 0;
foreach (var season in series.Seasons)
foreach (var season in series.Seasons.OrderBy(s => s.SeasonNumber))
{
if (!season.Monitored)
{