Revision 60970
Added by Argiro Kokogiannaki almost 3 years ago
resultLanding.component.ts | ||
---|---|---|
154 | 154 |
this.id = data["id"]; |
155 | 155 |
this.initMetaAndLinks("result"); |
156 | 156 |
} else if (data["pid"]) { |
157 |
this.identifier = Identifier.getIdentifierFromString(decodeURIComponent(data["pid"])); |
|
157 |
this.identifier = Identifier.getIdentifierFromString(decodeURIComponent(data["pid"]),false);
|
|
158 | 158 |
|
159 | 159 |
if(!this.type) { |
160 | 160 |
this.type = "result"; |
Also available in: Unified diff
[Library|Trunk]
Checks for PIDs:
- Landing page, ORCID page: add looser rule for pids (if not valid set it is a doi)
- String utils: Identifier.isValidDOI add generic rule doi starting with "10."