1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 18:28:19 +00:00

Fixed: BTN Anime Season search.

This commit is contained in:
Taloth Saldono 2015-07-07 23:00:25 +02:00
parent dbb3eb0e54
commit 067f450486

View file

@ -117,6 +117,16 @@ namespace NzbDrone.Core.Indexers.BroadcastheNet
pageableRequest.AddIfNotNull(GetPagedRequests(MaxPages, parameters));
}
foreach (var seasonNumber in searchCriteria.Episodes.Select(v => v.SeasonNumber).Distinct())
{
parameters = parameters.Clone();
parameters.Category = "Season";
parameters.Name = String.Format("Season {0}", seasonNumber);
pageableRequest.AddIfNotNull(GetPagedRequests(MaxPages, parameters));
}
}
return pageableRequest;