[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
This commit is contained in:
argiro.kokogiannaki 2020-09-10 08:48:28 +00:00
parent 6d593aaa27
commit 069dd4214b
1 changed files with 3 additions and 3 deletions

View File

@ -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";
}