From 6d2ec337c5af133c0aa13a768766d4d0922264a6 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Thu, 2 Apr 2015 09:04:21 +0000 Subject: [PATCH] SSDM-1648 : Polishing SVN: 33777 --- .../html/js/views/SampleTable/SampleTableController.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/SampleTable/SampleTableController.js b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/SampleTable/SampleTableController.js index c9facae96db..83146f8cf56 100644 --- a/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/SampleTable/SampleTableController.js +++ b/plasmid/source/core-plugins/newbrowser/1/as/webapps/newbrowser/html/js/views/SampleTable/SampleTableController.js @@ -188,6 +188,7 @@ function SampleTableController(parentController, title, experimentIdentifier) { columns.push({ label : "Operations", property : 'operations', + isExportable: false, sortable : false, render : function(data) { //Dropdown Setup @@ -250,7 +251,7 @@ function SampleTableController(parentController, title, experimentIdentifier) { var dataList = []; for(var sIdx = 0; sIdx < samples.length; sIdx++) { var sample = samples[sIdx]; - var sampleModel = { 'identifier' : sample.code, 'default_space' : sample.spaceCode, 'permId' : sample.permId, 'experiment' : sample.experimentIdentifierOrNull }; + var sampleModel = { 'identifier' : sample.identifier, 'default_space' : sample.spaceCode, 'permId' : sample.permId, 'experiment' : sample.experimentIdentifierOrNull }; for (var pIdx = 0; pIdx < propertyCodes.length; pIdx++) { var propertyCode = propertyCodes[pIdx]; sampleModel[propertyCode] = sample.properties[propertyCode]; @@ -260,7 +261,7 @@ function SampleTableController(parentController, title, experimentIdentifier) { if(sample.parents) { for (var paIdx = 0; paIdx < sample.parents.length; paIdx++) { if(paIdx !== 0) { - ", "; + parents += ", "; } parents += sample.parents[paIdx].identifier; } -- GitLab