From c885fb81f9fe2395984ded8c0b275f9c675915cc Mon Sep 17 00:00:00 2001 From: Harry Pollard Date: Thu, 26 Dec 2024 19:40:35 +0000 Subject: [PATCH] Fixed: Searching by title not using all titles --- src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs b/src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs index fddd5168e..43a9516ee 100644 --- a/src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs +++ b/src/NzbDrone.Core/Indexers/Newznab/NewznabRequestGenerator.cs @@ -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,