[angular-16-irish-monitor | ADDED]: Add originalId to datasources results in order to use it for provide.
This commit is contained in:
parent
bc4e30c3f2
commit
f81f5d7bfb
|
@ -36,6 +36,7 @@ export class Stakeholder {
|
|||
isUpload: boolean = false;
|
||||
description: string;
|
||||
topics: any[];
|
||||
details?: any;
|
||||
|
||||
constructor(_id: string, type: StakeholderType, index_id: string, index_name: string, index_shortName: string, alias: string, visibility: Visibility, logoUrl: string, defaultId: string = null, description: string = null) {
|
||||
this._id = _id;
|
||||
|
|
|
@ -116,7 +116,7 @@ export class SearchDataprovidersService {
|
|||
} else {
|
||||
result['englishname'] = "";
|
||||
}
|
||||
|
||||
result['originalId'] = resData.originalId;
|
||||
//result['title'].url = OpenaireProperties.getsearchLinkToDataProvider();
|
||||
//result['title'].url += Array.isArray(data) ? data[i]['result']['header']['dri:objIdentifier'] : data['result']['header']['dri:objIdentifier'];
|
||||
result['id'] = Array.isArray(data) ? data[i]['result']['header']['dri:objIdentifier'] : data['result']['header']['dri:objIdentifier'];
|
||||
|
|
|
@ -69,6 +69,7 @@ export class SearchResult {
|
|||
compatibilityUNKNOWN: boolean;
|
||||
countries: string[];
|
||||
subjects: string[];
|
||||
originalId: string;
|
||||
|
||||
entityType: string;
|
||||
types: string[];
|
||||
|
|
Loading…
Reference in New Issue