From 4887e136607d849bf2c7e9d93fded575b981da44 Mon Sep 17 00:00:00 2001 From: felmer <franz-josef.elmer@id.ethz.ch> Date: Wed, 20 Nov 2019 14:40:07 +0100 Subject: [PATCH] SSDM-8929: bug fixed in SampleSearchCriteria.js: wrong relation type for SampleSearchCriteria. The effect of the bug is only on logging the search criteria on the server side or in error messages. --- .../api/v3/as/dto/sample/search/SampleSearchCriteria.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/sample/search/SampleSearchCriteria.js b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/sample/search/SampleSearchCriteria.js index 1d622208a22..afab0254185 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/sample/search/SampleSearchCriteria.js +++ b/openbis/source/java/ch/systemsx/cisd/openbis/public/resources/api/v3/as/dto/sample/search/SampleSearchCriteria.js @@ -77,7 +77,7 @@ define([ "require", "stjs", "as/dto/common/search/AbstractEntitySearchCriteria", }); var SampleSearchCriteria = function() { - AbstractSampleSearchCriteria.call(this, SampleSearchRelation.PARENTS); + AbstractSampleSearchCriteria.call(this, SampleSearchRelation.SAMPLE); }; stjs.extend(SampleSearchCriteria, AbstractSampleSearchCriteria, [ AbstractSampleSearchCriteria ], function(constructor, prototype) { prototype['@type'] = 'as.dto.sample.search.SampleSearchCriteria'; -- GitLab