Fixed: (Cardigann) Use variables in keywordsfilters block

Fixes #1035
Fixes v5 TorrentLand
This commit is contained in:
Qstick 2022-06-23 22:22:30 -05:00
parent 7cf9fc6a4f
commit a0b650e7a5

View file

@ -1000,7 +1000,7 @@ private IEnumerable<IndexerRequest> GetRequest(Dictionary<string, object> variab
}
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
var searchPaths = search.Paths;