mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user