From f04a5170c89b46f4e78fe0eeaa88cae8cabb52d3 Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Thu, 30 Jun 2016 12:08:20 +0000
Subject: [PATCH] SSDM-3766 : fixed bug in search introduced after moving
 around some dtos

SVN: 36770
---
 .../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 be31718e0d1..1807bff2f79 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
@@ -42,7 +42,7 @@ define([ "require", "stjs", "as/dto/common/search/AbstractEntitySearchCriteria",
 			return this;
 		};
 		prototype.withType = function() {
-			var SampleTypeSearchCriteria = require("as/dto/entitytype/search/SampleTypeSearchCriteria");
+			var SampleTypeSearchCriteria = require("as/dto/sample/search/SampleTypeSearchCriteria");
 			return this.addCriteria(new SampleTypeSearchCriteria());
 		};
 		prototype.withOrOperator = function() {
-- 
GitLab