mirror of
https://github.com/Jackett/Jackett
synced 2025-01-19 14:10:07 +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)
|
if (query.ImdbID != null && TorznabCaps.SupportsImdbMovieSearch)
|
||||||
break; // skip andmatch filter for imdb searches
|
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));
|
logger.Debug(string.Format("CardigannIndexer ({0}): skipping {1} (andmatch filter)", ID, release.Title));
|
||||||
SkipRelease = true;
|
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.
|
// We cache the regex split results so we have to do it only once for each query.
|
||||||
if (QueryStringParts == null)
|
if (QueryStringParts == null)
|
||||||
{
|
{
|
||||||
var queryString = GetQueryString();
|
var queryString = !string.IsNullOrWhiteSpace(queryStringOverride) ? queryStringOverride : GetQueryString();
|
||||||
if (queryStringOverride != null)
|
|
||||||
queryString = queryStringOverride;
|
|
||||||
if (limit != null && limit > 0)
|
if (limit != null && limit > 0)
|
||||||
{
|
{
|
||||||
if (limit > queryString.Length)
|
if (limit > queryString.Length)
|
||||||
|
|
Loading…
Reference in a new issue