The problem can be reproduced in the attached example project. You have index the exisiting data with fts first.
Workflow:
- Login
- Open Application/Home
- Click ‘browser Customer Smith’
- The Customer browse view is displayed, but the filter is not applied and the filter is shown in fts mode.
If I switch defaultMode to “generic” in the code it works. This seems to be a bug to me.
These are the important code snippets
There is a page (home) with a button that opens a browse view with a filter (Home.java):
public void openCustomerWithFilter() {
Map<String, Object> params = new HashMap<>();
params.put("filter", "customerSmith");
openWindow("ftsfilterlinkdemo$Customer.browse", WindowManager.OpenType.NEW_TAB, params);
}
The grid in the browse view uses the filter in the fts mode (customer-browse.xml):
<filter id="filter"
defaultMode="fts"
applyTo="customersTable"
datasource="customersDs">
<properties include=".*"/>
</filter>
Yours,
Joerg
fts-filterlink-demo.zip (253.6K)