Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Commit dde95e4

Browse files
Merge pull request #1059 from sul-dlss/alternate-orcid-format
deal with another alternate orcid format for contributors
2 parents 898329b + baf31f3 commit dde95e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/services/orcid_builder.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ def orcidid(contributor)
4848
return identifier.uri if identifier.uri
4949
return identifier.value if identifier.value.start_with?('https://orcid.org/')
5050

51-
URI.join(identifier.source.uri, identifier.value).to_s
51+
URI.join('https://orcid.org/', identifier.value).to_s
5252
end
5353
end

spec/indexers/descriptive_metadata_indexer_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
],
125125
identifier: [
126126
{
127-
value: 'https://orcid.org/0000-0001-5321-289X',
127+
value: '0000-0001-5321-289X',
128128
type: 'ORCID',
129129
source: {
130130
code: 'orcid'

0 commit comments

Comments
 (0)