mirror of
https://github.com/Sonarr/Sonarr.git
synced 2025-01-02 06:31:51 +02:00
Fixed: Searching by title not using all titles
This commit is contained in:
parent
514c04935f
commit
c885fb81f9
@ -454,7 +454,7 @@ public virtual IndexerPageableRequestChain GetSearchRequests(AnimeSeasonSearchCr
|
||||
searchCriteria,
|
||||
$"&season={NewznabifySeasonNumber(searchCriteria.SeasonNumber)}");
|
||||
|
||||
var queryTitles = TextSearchEngine == "raw" ? searchCriteria.SceneTitles : searchCriteria.CleanSceneTitles;
|
||||
var queryTitles = TextSearchEngine == "raw" ? searchCriteria.AllSceneTitles : searchCriteria.CleanSceneTitles;
|
||||
|
||||
foreach (var queryTitle in queryTitles)
|
||||
{
|
||||
@ -582,7 +582,7 @@ private void AddTitlePageableRequests(IndexerPageableRequestChain chain, IEnumer
|
||||
}
|
||||
else if (SupportsTvQuerySearch)
|
||||
{
|
||||
var queryTitles = TvTextSearchEngine == "raw" ? searchCriteria.SceneTitles : searchCriteria.CleanSceneTitles;
|
||||
var queryTitles = TvTextSearchEngine == "raw" ? searchCriteria.AllSceneTitles : searchCriteria.CleanSceneTitles;
|
||||
foreach (var queryTitle in queryTitles)
|
||||
{
|
||||
chain.Add(GetPagedRequests(MaxPages,
|
||||
|
Loading…
Reference in New Issue
Block a user