Skip to content
Snippets Groups Projects
Commit 26ce4fcd authored by juanf's avatar juanf
Browse files

SSDM-1453 : Show Experiment on Sample Tables

SVN: 33372
parent 351c1afa
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,10 @@ function SampleTableController(parentController, title, experimentIdentifier) {
label : 'Code',
property : 'code',
sortable : true
}, {
label : 'Experiment',
property : 'experiment',
sortable : true
}, {
label : 'Preview',
property : 'preview',
......@@ -192,7 +196,7 @@ function SampleTableController(parentController, title, experimentIdentifier) {
var dataList = [];
for(var sIdx = 0; sIdx < samples.length; sIdx++) {
var sample = samples[sIdx];
var sampleModel = { 'code' : sample.code, 'permId' : sample.permId };
var sampleModel = { 'code' : sample.code, 'permId' : sample.permId, 'experiment' : sample.experimentIdentifierOrNull };
for (var pIdx = 0; pIdx < propertyCodes.length; pIdx++) {
var property = propertyCodes[pIdx];
sampleModel[property] = sample.properties[property];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment