[Library|Trunk]
Author Orcid: rename the field from "ORCID" to "orcid" git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59344 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
4189a8f114
commit
0f47fe966f
|
@ -130,10 +130,10 @@ export class DeletedByInferenceService {
|
|||
for(let i=0; i<length; i++) {
|
||||
let author = Array.isArray(authors) ? authors[i] : authors;
|
||||
if(author) {
|
||||
/*if (author.ORCID && author.ORCID.indexOf(properties.orcidURL) != -1) {
|
||||
author.ORCID = author.ORCID.substr(properties.orcidURL.length);
|
||||
/*if (author.orcid && author.orcid.indexOf(properties.orcidURL) != -1) {
|
||||
author.orcid = author.orcid.substr(properties.orcidURL.length);
|
||||
}*/
|
||||
result['authors'][author.rank] = {"fullName": author.content, "orcid": author.ORCID};
|
||||
result['authors'][author.rank] = {"fullName": author.content, "orcid": author.orcid};
|
||||
}
|
||||
}
|
||||
result.authors = result.authors.filter(function (item) {
|
||||
|
|
|
@ -291,7 +291,7 @@ export class ResultLandingService {
|
|||
for(let i=0; i<length; i++) {
|
||||
let author = Array.isArray(authors) ? authors[i] : authors;
|
||||
if(author) {
|
||||
this.resultLandingInfo['authors'][author.rank] = {"fullName": author.content, "orcid": author.ORCID};
|
||||
this.resultLandingInfo['authors'][author.rank] = {"fullName": author.content, "orcid": author.orcid};
|
||||
}
|
||||
}
|
||||
this.resultLandingInfo.authors = this.resultLandingInfo.authors.filter(function (item) {
|
||||
|
|
|
@ -275,7 +275,7 @@ export class SearchResearchResultsService {
|
|||
for(let i=0; i<length; i++) {
|
||||
let author = Array.isArray(authors) ? authors[i] : authors;
|
||||
if(author) {
|
||||
result['authors'][author.rank] = {"fullName": author.content, "orcid": author.ORCID};
|
||||
result['authors'][author.rank] = {"fullName": author.content, "orcid": author.orcid};
|
||||
}
|
||||
}
|
||||
result.authors = result.authors.filter(function (item) {
|
||||
|
|
Loading…
Reference in New Issue