remove code for "citations" tag (renamed to "references") - resultLanding service

This commit is contained in:
Alex Martzios 2022-08-29 16:18:04 +03:00
parent c27227923e
commit 89f9bb87bf
1 changed files with 0 additions and 7 deletions

View File

@ -97,8 +97,6 @@ export class ResultLandingService {
? res[1]['extraInfo']['references']['reference'] : null, // 12 ? res[1]['extraInfo']['references']['reference'] : null, // 12
res[0], // 13 res[0], // 13
res[2], // 14 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))); .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]); 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'] // res['result']['metadata']['oaf:entity']['oaf:result']['context']
if(data[8] != null) { if(data[8] != null) {
this.resultLandingInfo.contexts = this.parsingFunctions.parseContexts(data[8]); this.resultLandingInfo.contexts = this.parsingFunctions.parseContexts(data[8]);