[Library | Trunk]: resultLanding.component.html: Add links to advanced search foreach FOS and SDG subject.

This commit is contained in:
Konstantina Galouni 2022-03-29 16:55:04 +03:00
parent 74c6b529d9
commit 8002bce6f5
1 changed files with 10 additions and 2 deletions

View File

@ -188,7 +188,11 @@
</div>
<div class="uk-margin-small-top">
<div *ngIf="resultLandingInfo.fos && resultLandingInfo.fos.length > 0">
{{resultLandingInfo.fos.join(', ')}}
<ng-container *ngFor="let fos of resultLandingInfo.fos; let i=index">
<a [routerLink]=" properties.searchLinkToAdvancedResults"
[queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'size'], ['fos', fos, '50'])">{{fos}}</a>
<span *ngIf="resultLandingInfo.fos.length-1 > i">, </span>
</ng-container>
</div>
</div>
</div>
@ -198,7 +202,11 @@
</div>
<div class="uk-margin-small-top">
<div *ngIf="resultLandingInfo.sdg && resultLandingInfo.sdg.length > 0">
{{resultLandingInfo.sdg.join(', ')}}
<ng-container *ngFor="let sdg of resultLandingInfo.sdg; let i=index">
<a [routerLink]=" properties.searchLinkToAdvancedResults"
[queryParams]="routerHelper.createQueryParams(['f0', 'fv0', 'size'], ['sdg', sdg, '50'])">{{sdg}}</a>
<span *ngIf="resultLandingInfo.sdg.length-1 > i">, </span>
</ng-container>
</div>
</div>
</div>