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:
parent
dbb3eb0e54
commit
067f450486
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue