Revision 59344
Added by Argiro Kokogiannaki over 3 years ago
deletedByInference.service.ts | ||
---|---|---|
130 | 130 |
for(let i=0; i<length; i++) { |
131 | 131 |
let author = Array.isArray(authors) ? authors[i] : authors; |
132 | 132 |
if(author) { |
133 |
/*if (author.ORCID && author.ORCID.indexOf(properties.orcidURL) != -1) {
|
|
134 |
author.ORCID = author.ORCID.substr(properties.orcidURL.length);
|
|
133 |
/*if (author.orcid && author.orcid.indexOf(properties.orcidURL) != -1) {
|
|
134 |
author.orcid = author.orcid.substr(properties.orcidURL.length);
|
|
135 | 135 |
}*/ |
136 |
result['authors'][author.rank] = {"fullName": author.content, "orcid": author.ORCID};
|
|
136 |
result['authors'][author.rank] = {"fullName": author.content, "orcid": author.orcid};
|
|
137 | 137 |
} |
138 | 138 |
} |
139 | 139 |
result.authors = result.authors.filter(function (item) { |
Also available in: Unified diff
[Library|Trunk]
Author Orcid: rename the field from "ORCID" to "orcid"