Skip to content
Snippets Groups Projects
Commit 4c6f4b22 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '1828-export-pathway-name' into 'devel_16.2.x'

missing column name

See merge request !1568
parents 760526c3 677c2262
No related branches found
No related tags found
3 merge requests!1579Link to Home page of API-docs added in the docs,!1570Merge pipeline fix,!1568missing column name
Pipeline #76278 failed
......@@ -2,6 +2,9 @@ minerva (16.2.12) stable; urgency=medium
* Bug fix: Java Assistive Technology caused randomly issues with map upload
(#1681)
* Bug fix: non-existing user name/surname should be shown as "" (#1849)
* Bug fix: when exporting elements as tab separated list selecting of columns
"Complex name" or "Compartment/Pathway name" caused exporting both of them
(#1828)
-- Piotr Gawron <piotr.gawron@uni.lu> Tue, 21 Feb 2023 12:00:00 +0200
......
......@@ -180,6 +180,7 @@ ElementExportPanel.prototype.getAllColumns = function () {
"method": "getComplexId",
"name": "Complex id"
}, {
"columnName": "complexName",
/**
*
* @param {Alias} bioEntity
......@@ -207,6 +208,7 @@ ElementExportPanel.prototype.getAllColumns = function () {
"method": "getCompartmentId",
"name": "Compartment/Pathway id"
}, {
"columnName": "compartmentName",
/**
*
* @param {Alias} bioEntity
......@@ -221,8 +223,8 @@ ElementExportPanel.prototype.getAllColumns = function () {
id: compartmentId,
modelId: modelId,
type: "ALIAS"
}), true).then(function (complex) {
return complex.getName();
}), true).then(function (compartment) {
return compartment.getName();
});
} else {
return Promise.resolve("");
......
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