Skip to content
Snippets Groups Projects
Commit f6aafa4f authored by juanf's avatar juanf
Browse files

SSDM-3026 : Wildcards for global search always.

SVN: 35928
parent 987976fe
No related branches found
No related tags found
No related merge requests found
...@@ -1315,6 +1315,7 @@ function ServerFacade(openbisServer) { ...@@ -1315,6 +1315,7 @@ function ServerFacade(openbisServer) {
var v3api = new openbis(url + "/openbis/openbis/rmi-application-server-v3.json"); var v3api = new openbis(url + "/openbis/openbis/rmi-application-server-v3.json");
v3api._private.sessionToken = mainController.serverFacade.getSession(); v3api._private.sessionToken = mainController.serverFacade.getSession();
var searchCriteria = new GlobalSearchCriteria(); var searchCriteria = new GlobalSearchCriteria();
searchCriteria.withWildCards();
searchCriteria.withText().thatContains(freeText); searchCriteria.withText().thatContains(freeText);
var fetchOptions = new GlobalSearchObjectFetchOptions(); var fetchOptions = new GlobalSearchObjectFetchOptions();
var sampleFetchOptions = fetchOptions.withSample(); var sampleFetchOptions = fetchOptions.withSample();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment