diff --git a/CHANGELOG b/CHANGELOG index 65f7dd67f59af8b121728b362d49bb2fa9316a86..84c4ae07813268203d51fa36d18a24e95bac7566 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 diff --git a/frontend-js/src/main/js/gui/export/ElementExportPanel.js b/frontend-js/src/main/js/gui/export/ElementExportPanel.js index 54b04e95c464dc31c90243b00a1a537968ca2e64..2918236b7598391f6da855049eae4626807e7ccc 100644 --- a/frontend-js/src/main/js/gui/export/ElementExportPanel.js +++ b/frontend-js/src/main/js/gui/export/ElementExportPanel.js @@ -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("");