From 89f9bb87bff05c90f21c6f7261a73ed820129a23 Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Mon, 29 Aug 2022 16:18:04 +0300 Subject: [PATCH] remove code for "citations" tag (renamed to "references") - resultLanding service --- landingPages/result/resultLanding.service.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/landingPages/result/resultLanding.service.ts b/landingPages/result/resultLanding.service.ts index 22af2e71..ff67ac01 100644 --- a/landingPages/result/resultLanding.service.ts +++ b/landingPages/result/resultLanding.service.ts @@ -97,8 +97,6 @@ export class ResultLandingService { ? res[1]['extraInfo']['references']['reference'] : null, // 12 res[0], // 13 res[2], // 14 - (res[1]['extraInfo'] !== undefined && res[1]['extraInfo']['citations'] !== undefined) - ? res[1]['extraInfo']['citations']['citation'] : null, // 15 ])) .pipe(map(res => this.parseResultLandingInfo(res, provenanceActionVocabulary, subjectsVocabulary, relationsVocabulary, properties))); } @@ -372,11 +370,6 @@ export class ResultLandingService { this.resultLandingInfo.references = this.parsingFunctions.parseReferences(data[12]); } - // #7509 - OLD: res['result']['metadata']['oaf:entity']['extraInfo']['citations']['citation'] - if(data[12] == null && data[15] != null) { - this.resultLandingInfo.references = this.parsingFunctions.parseReferences(data[15]); - } - // res['result']['metadata']['oaf:entity']['oaf:result']['context'] if(data[8] != null) { this.resultLandingInfo.contexts = this.parsingFunctions.parseContexts(data[8]);