Skip to content

Commit

Permalink
Broaden how we find orcid ids
Browse files Browse the repository at this point in the history
  • Loading branch information
futa-ikeda committed Oct 24, 2023
1 parent b2edb25 commit 3446a8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/search-result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default class SearchResultModel extends Model {
get orcids() {
if (this.resourceMetadata.identifier) {
const orcids = this.resourceMetadata.identifier.filter(
(item: any) => item['@value'].includes('http://orcid.org/'),
(item: any) => item['@value'].includes('orcid.org/'),
);
return orcids.map( (item: any) => item['@value']);
}
Expand Down

0 comments on commit 3446a8b

Please sign in to comment.