Project

General

Profile

« Previous | Next » 

Revision 60970

[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."

View differences:

myOrcidLinks.component.ts
281 281

  
282 282
    for(let work of works) {
283 283
      for(let pid of work['pids']) {
284
        let identifier: Identifier = Identifier.getIdentifierFromString(pid);
284
        let identifier: Identifier = Identifier.getIdentifierFromString(pid, false);
285 285
        this.orcidQuery += (this.orcidQuery ? " or " : "") + ('(pidclassid exact "'+identifier.class+'" and pid="'+StringUtils.URIEncode(identifier.id)+'")');
286 286
      }
287 287
    }

Also available in: Unified diff