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

Merge branch '735-publication-list-pubmed-id' into 'devel_12.2.x'

Resolve "Publication list does not provide correct hyperlinks for invalid PubMed"

See merge request !686
parents 154b411a d876e838
No related branches found
No related tags found
3 merge requests!716Merge 12.2.0,!715merge 12.2.0,!686Resolve "Publication list does not provide correct hyperlinks for invalid PubMed"
Pipeline #9137 passed
......@@ -2,6 +2,8 @@ minerva (12.2.0~beta.3) unstable; urgency=medium
* Bug fix: Icons are still not properly loaded on Safari (#661)
* Bug fix: fetching information about publication with invalid (non numeric)
pubmed id triggered exception (#737)
* Bug fix: proper id is used in list of publications when publication id is
invalid (#735)
-- Piotr Gawron <piotr.gawron@uni.lu> Wed, 6 Mar 2019 17:00:00 +0200
......
......@@ -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";
......@@ -304,7 +304,7 @@ PublicationListDialog.prototype.publicationListToArray = function (publicationLi
row[3] = article.journal;
row[4] = article.year;
} else {
row[0] = entry.publication.id;
row[0] = entry.publication.resource;
row[1] = "N/A";
row[2] = "N/A";
row[3] = "N/A";
......
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