Merge remote-tracking branch 'origin/develop' into angular-16-irish-monitor
This commit is contained in:
commit
134ab8240e
|
@ -145,6 +145,15 @@ export class DeletedByInferenceService {
|
||||||
if(author.orcid_pending) {
|
if(author.orcid_pending) {
|
||||||
author.orcid_pending = author.orcid_pending.toUpperCase();
|
author.orcid_pending = author.orcid_pending.toUpperCase();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(result['authors'][author.rank] && results['authors'][author.rank].fullName == author.content) {
|
||||||
|
if(!author.orcid && result['authors'][author.rank].orcid) {
|
||||||
|
author.orcid = result['authors'][author.rank].orcid;
|
||||||
|
} else if(!author.orcid_pending && result['authors'][author.rank].orcid_pending) {
|
||||||
|
author.orcid_pending = result['authors'][author.rank].orcid_pending;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
result['authors'][author.rank] = {"fullName": author.content, "orcid": author.orcid, "orcid_pending": author.orcid_pending};
|
result['authors'][author.rank] = {"fullName": author.content, "orcid": author.orcid, "orcid_pending": author.orcid_pending};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -396,6 +396,15 @@ export class ResultLandingService {
|
||||||
if (author.orcid_pending) {
|
if (author.orcid_pending) {
|
||||||
author.orcid_pending = author.orcid_pending.toUpperCase();
|
author.orcid_pending = author.orcid_pending.toUpperCase();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(this.resultLandingInfo['authors'][author.rank] && this.resultLandingInfo['authors'][author.rank].fullName == author.content) {
|
||||||
|
if(!author.orcid && this.resultLandingInfo['authors'][author.rank].orcid) {
|
||||||
|
author.orcid = this.resultLandingInfo['authors'][author.rank].orcid;
|
||||||
|
} else if(!author.orcid_pending && this.resultLandingInfo['authors'][author.rank].orcid_pending) {
|
||||||
|
author.orcid_pending = this.resultLandingInfo['authors'][author.rank].orcid_pending;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
this.resultLandingInfo['authors'][author.rank] = {
|
this.resultLandingInfo['authors'][author.rank] = {
|
||||||
"fullName": author.content,
|
"fullName": author.content,
|
||||||
"orcid": author.orcid,
|
"orcid": author.orcid,
|
||||||
|
|
|
@ -348,6 +348,15 @@ export class SearchResearchResultsService {
|
||||||
if (author.orcid_pending) {
|
if (author.orcid_pending) {
|
||||||
author.orcid_pending = author.orcid_pending.toUpperCase();
|
author.orcid_pending = author.orcid_pending.toUpperCase();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(result['authors'][author.rank] && result['authors'][author.rank].fullName == author.content) {
|
||||||
|
if(!author.orcid && result['authors'][author.rank].orcid) {
|
||||||
|
author.orcid = result['authors'][author.rank].orcid;
|
||||||
|
} else if(!author.orcid_pending && result['authors'][author.rank].orcid_pending) {
|
||||||
|
author.orcid_pending = result['authors'][author.rank].orcid_pending;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
result['authors'][author.rank] = {
|
result['authors'][author.rank] = {
|
||||||
"fullName": author.content,
|
"fullName": author.content,
|
||||||
"orcid": author.orcid,
|
"orcid": author.orcid,
|
||||||
|
|
Loading…
Reference in New Issue