From d232ffc138afd67ff1eb0111544f813fb27e7133 Mon Sep 17 00:00:00 2001
From: juanf <juanf>
Date: Mon, 12 Dec 2016 13:27:05 +0000
Subject: [PATCH] SSDM-4495 : Show experiment preview image, force classes to
 avoid v3 loading errors

SVN: 37479
---
 .../as/webapps/eln-lims/html/js/server/ServerFacade.js | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js
index 31b9ca50cdf..a75a8a9402a 100644
--- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js
+++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js
@@ -728,7 +728,15 @@ function ServerFacade(openbisServer) {
 	this.searchForEntityAdvanced = function(advancedSearchCriteria, advancedFetchOptions, callback, criteriaClass, fetchOptionsClass, searchMethodName) {
 		require([criteriaClass,
 		         fetchOptionsClass,
-		         'as/dto/common/search/DateObjectEqualToValue'], function(EntitySearchCriteria, EntityFetchOptions, DateObjectEqualToValue) {
+		         'as/dto/common/search/DateObjectEqualToValue',
+		         'as/dto/experiment/search/ExperimentSearchCriteria',
+		         'as/dto/experiment/fetchoptions/ExperimentFetchOptions',
+		         'as/dto/space/search/SpaceSearchCriteria',
+		         'as/dto/sample/fetchoptions/SampleFetchOptions',
+		         'as/dto/space/search/SpaceSearchCriteria',
+		         'as/dto/space/fetchoptions/SpaceFetchOptions',
+		         'as/dto/project/search/ProjectSearchCriteria',
+		         'as/dto/project/fetchoptions/ProjectFetchOptions'], function(EntitySearchCriteria, EntityFetchOptions, DateObjectEqualToValue) {
 			try {
 				//Setting the searchCriteria given the advancedSearchCriteria model
 				var searchCriteria = new EntitySearchCriteria();
-- 
GitLab