mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
Fix bug in handling js parameters
This commit is contained in:
parent
ebd365a128
commit
72152f9d80
@ -15,6 +15,7 @@ public class SearchQueryParamFactory {
|
|||||||
SearchSubquery prototype = new SearchSubquery();
|
SearchSubquery prototype = new SearchSubquery();
|
||||||
var profile = userParams.profile();
|
var profile = userParams.profile();
|
||||||
profile.addTacitTerms(prototype);
|
profile.addTacitTerms(prototype);
|
||||||
|
userParams.jsSetting().addTacitTerms(prototype);
|
||||||
|
|
||||||
return new QueryParams(
|
return new QueryParams(
|
||||||
userParams.humanQuery(),
|
userParams.humanQuery(),
|
||||||
|
@ -18,7 +18,7 @@ import java.util.Optional;
|
|||||||
|
|
||||||
public class SearchQueryService {
|
public class SearchQueryService {
|
||||||
|
|
||||||
private WebsiteUrl websiteUrl;
|
private final WebsiteUrl websiteUrl;
|
||||||
private final SearchErrorPageService errorPageService;
|
private final SearchErrorPageService errorPageService;
|
||||||
private final CommandEvaluator searchCommandEvaulator;
|
private final CommandEvaluator searchCommandEvaulator;
|
||||||
private final Logger logger = LoggerFactory.getLogger(getClass());
|
private final Logger logger = LoggerFactory.getLogger(getClass());
|
||||||
|
Loading…
Reference in New Issue
Block a user