[angular-16-irish-monitor | ADDED]: Add originalId to datasources results in order to use it for provide.

This commit is contained in:
Konstantinos Triantafyllou 2024-01-07 13:20:17 +02:00
parent bc4e30c3f2
commit f81f5d7bfb
3 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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'];

View File

@ -69,6 +69,7 @@ export class SearchResult {
compatibilityUNKNOWN: boolean;
countries: string[];
subjects: string[];
originalId: string;
entityType: string;
types: string[];