From 069dd4214bee6129c17dab37da3578216f86fb8f Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Thu, 10 Sep 2020 08:48:28 +0000 Subject: [PATCH] [Library|Trunk] Fixing links from properties for search and landing of software & general result git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59359 d315682c-612b-4755-9ff5-7f18f6832af3 --- landingPages/result/resultLanding.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/landingPages/result/resultLanding.component.ts b/landingPages/result/resultLanding.component.ts index 06c81e79..36310c9b 100644 --- a/landingPages/result/resultLanding.component.ts +++ b/landingPages/result/resultLanding.component.ts @@ -151,8 +151,8 @@ export class ResultLandingComponent { } else if (data['softwareId']) { this.updateTitle("Software"); this.type = "software"; - this.linkToLandingPage = this.properties.searchLinkToSoftware; - this.linkToSearchPage = this.properties.searchLinkToSoftwareLanding; + this.linkToLandingPage = this.properties.searchLinkToSoftwareLanding; + this.linkToSearchPage = this.properties.searchLinkToSoftware; this.id = data['softwareId']; this.title = "Software"; } else if (data['orpId']) { @@ -166,7 +166,7 @@ export class ResultLandingComponent { this.type = "result"; this.id = data["id"]; this.updateTitle("Research Result"); - this.linkToLandingPage = this.properties.searchLinkToOrp; + this.linkToLandingPage = this.properties.searchLinkToResult; this.linkToSearchPage = this.properties.searchLinkToResults; this.title = "Research Result"; }