mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
PL-10105 FTS condition is not applied in Filter (FTS mode)
This commit is contained in:
parent
7dd7acaca6
commit
1d459f36f7
@ -1496,8 +1496,8 @@ public class FilterDelegateImpl implements FilterDelegate {
|
||||
if (!Strings.isNullOrEmpty(searchTerm)) {
|
||||
FtsFilterHelper.FtsSearchResult ftsSearchResult = ftsFilterHelper.search(searchTerm, datasource.getMetaClass().getName());
|
||||
int queryKey = ftsSearchResult.getQueryKey();
|
||||
params.put("sessionId", userSessionSource.getUserSession().getId());
|
||||
params.put("queryKey", queryKey);
|
||||
params.put(FtsFilterHelper.SESSION_ID_PARAM_NAME, userSessionSource.getUserSession().getId());
|
||||
params.put(FtsFilterHelper.QUERY_KEY_PARAM_NAME, queryKey);
|
||||
|
||||
CustomCondition ftsCondition = ftsFilterHelper.createFtsCondition(datasource.getMetaClass().getName());
|
||||
conditions = new ConditionsTree();
|
||||
|
Loading…
Reference in New Issue
Block a user