From 92f0b6ea6601a9523a89cab14418784046c9be4d Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Wed, 6 Apr 2016 13:51:04 +0000 Subject: [PATCH] SSDM-3401: searchMaterials put back because it was deleted in the last check in SVN: 36100 --- .../cisd/openbis/public/resources/api/v3/openbis.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/openbis.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/openbis.js index 736dd7d83a0..58109d0b95d 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/openbis.js +++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/openbis.js @@ -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({ -- GitLab