Skip to content
Snippets Groups Projects
Commit 8d121384 authored by juanf's avatar juanf
Browse files

SSDM-1959 : Show gene name instead of gene number in ELN plate hierarchy view

SVN: 34275
parent 794a8a6b
No related branches found
No related tags found
No related merge requests found
...@@ -97,7 +97,7 @@ var PrintUtil = new function() { ...@@ -97,7 +97,7 @@ var PrintUtil = new function() {
} else if(propertyType.dataType === "MATERIAL") { } else if(propertyType.dataType === "MATERIAL") {
var materialValue = entity.properties[propertyCode]; var materialValue = entity.properties[propertyCode];
var materialType = this._getMaterialTypeFromPropertyValue(materialValue); var materialType = this._getMaterialTypeFromPropertyValue(materialValue);
if(materialType === "GENE" && entity.cachedMaterials) { if(materialType === "GENE" && entity.cachedMaterials) { //Specially supported materials from openBIS
var gene = this._getMaterialFromCode(entity.cachedMaterials, this._getMaterialCodeFromPropertyValue(materialValue)); var gene = this._getMaterialFromCode(entity.cachedMaterials, this._getMaterialCodeFromPropertyValue(materialValue));
propertyContent = $("<span>").append(gene.properties["GENE_SYMBOLS"]); propertyContent = $("<span>").append(gene.properties["GENE_SYMBOLS"]);
} else { } else {
......
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