From d08cdfb8242be9cc0c5bd44da2572bc994f7d6a7 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Wed, 30 Sep 2015 12:56:46 +0000 Subject: [PATCH] SSDM-2495 : And more Polishing, bugfix on search by properties SVN: 34759 --- .../1/as/webapps/eln-lims/html/js/server/ServerFacade.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 94740ce5ca2..b70da5f3105 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({ -- GitLab