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 1d622208a225ee5fe8617c639cc2dcc76d3b8e75..afab0254185572ada2163aedaa896414e246ff4b 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';