From d80ac4904a735d9083b8900b846085b922f622fe Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 20 Sep 2021 16:32:27 +0300 Subject: [PATCH] [Connect]: resultLanding.service.ts: In method "getEnermapsDetails()", change url to /api/metadata (used to be /api/datasets). --- landingPages/result/resultLanding.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/landingPages/result/resultLanding.service.ts b/landingPages/result/resultLanding.service.ts index 2ee3e77d..28ba2e88 100644 --- a/landingPages/result/resultLanding.service.ts +++ b/landingPages/result/resultLanding.service.ts @@ -487,7 +487,8 @@ export class ResultLandingService { } getEnermapsDetails(id: string) { - let url = properties.enermapsURL+"/api/datasets_full?shared_id=eq."+id; + // let url = properties.enermapsURL+"/api/datasets_full?shared_id=eq."+id; + let url = properties.enermapsURL+"/api/metadata?shared_id=eq."+id; return this.http.get((properties.useLongCache)? (properties.cacheUrl+encodeURIComponent(url)): url) // return this.http.get(url) .pipe(map(res => this.parseEnermapsDetails(res)));