Add tier for search by book title only

pull/2439/head
Bogdan 2 years ago
parent 5358b7f7ec
commit b55c09ba3d

@ -62,6 +62,10 @@ namespace NzbDrone.Core.Indexers.Newznab
AddBookPageableRequests(pageableRequests, AddBookPageableRequests(pageableRequests,
searchCriteria, searchCriteria,
$"&author={NewsnabifyTitle(searchCriteria.AuthorQuery)}&title={NewsnabifyTitle(searchCriteria.BookQuery)}"); $"&author={NewsnabifyTitle(searchCriteria.AuthorQuery)}&title={NewsnabifyTitle(searchCriteria.BookQuery)}");
AddBookPageableRequests(pageableRequests,
searchCriteria,
$"&title={NewsnabifyTitle(searchCriteria.BookQuery)}");
} }
if (SupportsSearch) if (SupportsSearch)
@ -78,6 +82,8 @@ namespace NzbDrone.Core.Indexers.Newznab
"search", "search",
$"&q={NewsnabifyTitle(searchCriteria.AuthorQuery)}+{NewsnabifyTitle(searchCriteria.BookQuery)}")); $"&q={NewsnabifyTitle(searchCriteria.AuthorQuery)}+{NewsnabifyTitle(searchCriteria.BookQuery)}"));
pageableRequests.AddTier();
pageableRequests.Add(GetPagedRequests(MaxPages, pageableRequests.Add(GetPagedRequests(MaxPages,
Settings.Categories, Settings.Categories,
"search", "search",

Loading…
Cancel
Save