From fea0b1f2e7acf1799383cf3b0e6549fe43152a9f Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Thu, 7 Mar 2019 11:01:48 +0100 Subject: [PATCH] proper id is taken when no publication is available --- frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js b/frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js index b9868ad223..89df94b813 100644 --- a/frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js +++ b/frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js @@ -108,7 +108,7 @@ PublicationListDialog.prototype._dataTableAjaxCall = function (data, callback) { row[3] = article.journal; row[4] = article.year; } else { - row[0] = publicationList.data[i].publication.id; + row[0] = publicationList.data[i].publication.resource; row[1] = "N/A"; row[2] = "N/A"; row[3] = "N/A"; -- GitLab