Fix bug in handling js parameters

This commit is contained in:
Viktor Lofgren 2023-10-24 15:10:02 +02:00
parent ebd365a128
commit 72152f9d80
2 changed files with 2 additions and 1 deletions

View File

@ -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(),

View File

@ -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());