mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
This commit is contained in:
parent
c528fc0f98
commit
f355db6788
2 changed files with 5 additions and 4 deletions
|
@ -1603,7 +1603,9 @@ namespace Jackett.Common.Indexers
|
|||
if (query.ImdbID != null && TorznabCaps.SupportsImdbMovieSearch)
|
||||
break; // skip andmatch filter for imdb searches
|
||||
|
||||
if (!query.MatchQueryStringAND(release.Title, CharacterLimit))
|
||||
var queryKeywords = variables[".Keywords"] as string;
|
||||
|
||||
if (!query.MatchQueryStringAND(release.Title, CharacterLimit, queryKeywords))
|
||||
{
|
||||
logger.Debug(string.Format("CardigannIndexer ({0}): skipping {1} (andmatch filter)", ID, release.Title));
|
||||
SkipRelease = true;
|
||||
|
|
|
@ -148,9 +148,8 @@ namespace Jackett.Common.Models
|
|||
// We cache the regex split results so we have to do it only once for each query.
|
||||
if (QueryStringParts == null)
|
||||
{
|
||||
var queryString = GetQueryString();
|
||||
if (queryStringOverride != null)
|
||||
queryString = queryStringOverride;
|
||||
var queryString = !string.IsNullOrWhiteSpace(queryStringOverride) ? queryStringOverride : GetQueryString();
|
||||
|
||||
if (limit != null && limit > 0)
|
||||
{
|
||||
if (limit > queryString.Length)
|
||||
|
|
Loading…
Reference in a new issue