mirror of
https://github.com/Radarr/Radarr
synced 2024-12-24 08:52:38 +00:00
UpdateInfo and DiskScan jobs will process in Alphabetical order (ignoring articles).
This commit is contained in:
parent
54e5874770
commit
cc40b7d2f3
2 changed files with 4 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
|||
using System.Linq;
|
||||
using Ninject;
|
||||
using NLog;
|
||||
using NzbDrone.Core.Helpers;
|
||||
using NzbDrone.Core.Model.Notification;
|
||||
using NzbDrone.Core.Repository;
|
||||
|
||||
|
@ -40,7 +41,7 @@ public virtual void Start(ProgressNotification notification, int targetId, int s
|
|||
IList<Series> seriesToScan;
|
||||
if (targetId == 0)
|
||||
{
|
||||
seriesToScan = _seriesProvider.GetAllSeries().ToList();
|
||||
seriesToScan = _seriesProvider.GetAllSeries().OrderBy(o => SortHelper.SkipArticles(o.Title)).ToList();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Ninject;
|
||||
using NzbDrone.Core.Helpers;
|
||||
using NzbDrone.Core.Model.Notification;
|
||||
using NzbDrone.Core.Repository;
|
||||
|
||||
|
@ -38,7 +39,7 @@ public virtual void Start(ProgressNotification notification, int targetId, int s
|
|||
IList<Series> seriesToUpdate;
|
||||
if (targetId == 0)
|
||||
{
|
||||
seriesToUpdate = _seriesProvider.GetAllSeries().ToList();
|
||||
seriesToUpdate = _seriesProvider.GetAllSeries().OrderBy(o => SortHelper.SkipArticles(o.Title)).ToList();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue