Change link to landing page from queryId to communityId

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@51028 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-03-02 16:05:59 +00:00
parent 1e07a6e7f0
commit 30e67bbcea
1 changed files with 3 additions and 3 deletions

View File

@ -12,15 +12,15 @@ import { CommunityInfo } from '../../utils/communityInfo';
<div class="el-item uk-panel">
<h6 class="el-title uk-margin uk-h6 uk-text-primary uk-margin-remove-adjacent uk-margin-remove-bottom">
<div *ngIf="item.type == 'publication'">
<a [queryParams]="{articleId: item.id, community: community.queryId}" routerLinkActive="router-link-active" routerLink="/search/publication" >
<a [queryParams]="{articleId: item.id, community: community.communityId}" routerLinkActive="router-link-active" routerLink="/search/publication" >
{{item.title}} </a>
</div>
<div *ngIf="item.type == 'dataset'">
<a [queryParams]="{datasetId: item.id, community: community.queryId}" routerLinkActive="router-link-active" routerLink="/search/dataset" >
<a [queryParams]="{datasetId: item.id, community: community.communityId}" routerLinkActive="router-link-active" routerLink="/search/dataset" >
{{item.title}} </a>
</div>
<div *ngIf="item.type == 'software'">
<a [queryParams]="{softwareId: item.id, community: community.queryId}" routerLinkActive="router-link-active" routerLink="/search/software" >
<a [queryParams]="{softwareId: item.id, community: community.communityId}" routerLinkActive="router-link-active" routerLink="/search/software" >
{{item.title}} </a>
</div>
</h6>