Skip to content
Snippets Groups Projects
Commit 92f0b6ea authored by felmer's avatar felmer
Browse files

SSDM-3401: searchMaterials put back because it was deleted in the last check in

SVN: 36100
parent f64fe414
No related branches found
No related tags found
No related merge requests found
......@@ -512,6 +512,18 @@ define([ 'jquery', 'util/Json' ], function($, stjsUtil) {
});
}
this.searchMaterials = function(criteria, fetchOptions) {
var thisFacade = this;
return thisFacade._private.ajaxRequest({
url : openbisUrl,
data : {
"method" : "searchMaterials",
"params" : [ thisFacade._private.sessionToken, criteria, fetchOptions ]
},
returnType : "SearchResult"
});
}
this.searchMaterialTypes = function(criteria, fetchOptions) {
var thisFacade = this;
return thisFacade._private.ajaxRequest({
......
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