From a2913c1cc20a65c64ebe0574e18c3c7b761fa86c Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Tue, 29 Mar 2016 13:38:28 +0000 Subject: [PATCH] SSDM-3109 : Advanced search, correct attributes for sample experiment, bugfix. SVN: 36031 --- .../html/js/views/AdvancedSearch/AdvancedSearchView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js index d047eb8e3a7..84f6a5ae007 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/views/AdvancedSearch/AdvancedSearchView.js @@ -226,8 +226,8 @@ function AdvancedSearchView(advancedSearchController, advancedSearchModel) { var _this = this; var model = null; var attributesModel = null; - if(parentOrChildrenOrExperiment === "Experiment") { - attributesModel = this._getFieldNameAttributesByEntityKind("Experiment"); + if(parentOrChildrenOrExperiment === "EXPERIMENT") { + attributesModel = this._getFieldNameAttributesByEntityKind("EXPERIMENT"); } else { attributesModel = this._getFieldNameAttributesByEntityKind(entityKind); } -- GitLab