1. env-properties.ts: 'baseOpenaireLink' field added, which is base url for OpenAIRE portal.
2. searchResult.ts: 'subjects' and 'englishname' fields added (used by dataproviders). 3. searchDataproviders.service.ts: parse 'englishname'. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51558 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
5dbf849a32
commit
4bd5470468
|
@ -275,6 +275,7 @@ export class SearchDataprovidersService {
|
||||||
result['title'] = {"name": '', "accessMode": '', "sc39": ''};
|
result['title'] = {"name": '', "accessMode": '', "sc39": ''};
|
||||||
|
|
||||||
result['title'].name = resData.officialname;
|
result['title'].name = resData.officialname;
|
||||||
|
result['englishname'] = resData.englishname;
|
||||||
|
|
||||||
//result['title'].url = OpenaireProperties.getsearchLinkToDataProvider();
|
//result['title'].url = OpenaireProperties.getsearchLinkToDataProvider();
|
||||||
//result['title'].url += Array.isArray(data) ? data[i]['result']['header']['dri:objIdentifier'] : data['result']['header']['dri:objIdentifier'];
|
//result['title'].url += Array.isArray(data) ? data[i]['result']['header']['dri:objIdentifier'] : data['result']['header']['dri:objIdentifier'];
|
||||||
|
|
|
@ -23,11 +23,14 @@ export class SearchResult {
|
||||||
//organizations:
|
//organizations:
|
||||||
country: string;
|
country: string;
|
||||||
//dataproviders:
|
//dataproviders:
|
||||||
|
englishname: string;
|
||||||
type: string;
|
type: string;
|
||||||
websiteURL: string;
|
websiteURL: string;
|
||||||
OAIPMHURL: string;
|
OAIPMHURL: string;
|
||||||
compatibility: string;
|
compatibility: string;
|
||||||
countries: string[];
|
countries: string[];
|
||||||
|
subjects: string[];
|
||||||
|
|
||||||
entityType: string;
|
entityType: string;
|
||||||
languages: string[];
|
languages: string[];
|
||||||
types: string[];
|
types: string[];
|
||||||
|
|
|
@ -91,6 +91,8 @@ export class EnvProperties {
|
||||||
|
|
||||||
//base url
|
//base url
|
||||||
baseLink;
|
baseLink;
|
||||||
|
//base url for OpenAIRE portal
|
||||||
|
baseOpenaireLink;
|
||||||
|
|
||||||
//landing Pages
|
//landing Pages
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue