mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
cardigannIndexer: add variables support to keywordsfilters block. resolves #13297
This commit is contained in:
@@ -1327,7 +1327,7 @@ namespace Jackett.Common.Indexers
|
|||||||
if (!string.IsNullOrWhiteSpace((string)variables[".Query.Episode"]))
|
if (!string.IsNullOrWhiteSpace((string)variables[".Query.Episode"]))
|
||||||
KeywordTokens.Add((string)variables[".Query.Episode"]);
|
KeywordTokens.Add((string)variables[".Query.Episode"]);
|
||||||
variables[".Query.Keywords"] = string.Join(" ", KeywordTokens);
|
variables[".Query.Keywords"] = string.Join(" ", KeywordTokens);
|
||||||
variables[".Keywords"] = applyFilters((string)variables[".Query.Keywords"], Search.Keywordsfilters);
|
variables[".Keywords"] = applyFilters((string)variables[".Query.Keywords"], Search.Keywordsfilters, variables);
|
||||||
|
|
||||||
// TODO: prepare queries first and then send them parallel
|
// TODO: prepare queries first and then send them parallel
|
||||||
var SearchPaths = Search.Paths;
|
var SearchPaths = Search.Paths;
|
||||||
|
Reference in New Issue
Block a user