4f5cdad9a9
1. string-utils.class: Create method 'getIdentifierFromString()' to return a single Identifier. 2. resultLanding.component: a. Add 'pid' as possible parameter in page url for persistent identifiers. b. In method 'getResultLandingInfo()' add Identifier parameter to build the appropriate query. c. Do not re-build url (location.go) if url parameter was "pid". d. [For orcid - coming soon] Join all identifiers of result into a string: pidsArrayString. 3. resultLanding.service: a. In method 'getResultLandingInfo()' add Identifier parameter to build tthe appropriate query. b. Add method 'buildResultLandingInfoUrl()' called by 'getResultLandingInfo()'. c. Im method 'getResultLandingInfo()', if given identifier and not id parameter, the response is search-like with array of results: if there are no results, throw HttpErrorResponse with status 404 (like landing response, which returns 404 when no results), otherwise return first result (results['result'][0]). git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@60221 d315682c-612b-4755-9ff5-7f18f6832af3 |
||
---|---|---|
claims | ||
connect | ||
contact-us | ||
dashboard | ||
deposit | ||
error | ||
landingPages | ||
login | ||
monitor | ||
reload | ||
role-verification | ||
searchPages | ||
services | ||
shared | ||
sharedComponents | ||
utils | ||
verification | ||
cache-interceptor.service.ts | ||
error-interceptor.service.ts | ||
http-interceptor.service.ts | ||
timeout-interceptor.service.ts |