From 9583a2d283bfecb6b02011d9765102cb3ba6f501 Mon Sep 17 00:00:00 2001 From: cde-barros Date: Wed, 16 Oct 2024 11:59:52 +0200 Subject: [PATCH] correction ignlandingpage --- .../elements/src/lib/metadata-info/metadata-info.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts index 44c12bf7e..24a7dd3bd 100644 --- a/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts +++ b/libs/ui/elements/src/lib/metadata-info/metadata-info.component.ts @@ -67,6 +67,7 @@ export class MetadataInfoComponent { } get updateFrequency(): string { + console.log(this.metadata) if (this.metadata.updateFrequency instanceof Object) { this.updatedTimes = this.metadata.updateFrequency.updatedTimes return `domain.record.updateFrequency.${this.metadata.updateFrequency.per}` @@ -100,7 +101,8 @@ export class MetadataInfoComponent { get ignLandingPage() { return new URL( - 'https://data.geopf.fr/csw?REQUEST=GetRecordById&SERVICE=CSW&VERSION=2.0.2&OUTPUTSCHEMA=http://standards.iso.org/iso/19115/-3/mdb/2.0&elementSetName=full&ID=' + + this.metadata.landingPage.origin + + '/csw?REQUEST=GetRecordById&SERVICE=CSW&VERSION=2.0.2&OUTPUTSCHEMA=http://standards.iso.org/iso/19115/-3/mdb/2.0&elementSetName=full&ID=' + this.metadata.uniqueIdentifier ) }