mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 10:32:35 +01:00
Episode searches will be done in ascending order now.
This commit is contained in:
parent
3fdfa69b94
commit
19ffd77754
@ -262,7 +262,9 @@ public List<SearchHistoryItem> ProcessSearchResults(ProgressNotification notific
|
||||
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 @@ public UpcomingController(UpcomingEpisodesProvider upcomingEpisodesProvider)
|
||||
|
||||
public ActionResult Index()
|
||||
{
|
||||
var upcomingEpisodes = GetUpcomingEpisodeModels(_upcomingEpisodesProvider.RecentEpisodes());
|
||||
var upcomingEpisodes = GetUpcomingEpisodeModels(_upcomingEpisodesProvider.UpcomingEpisodes());
|
||||
|
||||
|
||||
var upcoming = new UpcomingEpisodesModel
|
||||
|
Loading…
Reference in New Issue
Block a user