diff --git a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js index 94740ce5ca2eb13d1e18df3f11446411e9635677..b70da5f3105de249177b6e5b737a90ed22342700 100644 --- a/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js +++ b/plasmid/source/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/server/ServerFacade.js @@ -909,10 +909,11 @@ function ServerFacade(openbisServer) { for(var i = 0; i < propertyTypeCodes.length ;i++) { var propertyTypeCode = propertyTypeCodes[i]; - var propertyTypeValue = propertyValues[i]; - properyKeyValueList.push({ - propertyTypeCode : "\"" + propertyTypeValue + "\"" - }); + var propertyTypeValue = "\"" + propertyValues[i] + "\""; + var newMap = {}; + newMap[propertyTypeCode] = propertyTypeValue; + + properyKeyValueList.push(newMap); } this.searchSamples({