From 5dbf849a3216da8694999bbd64ff8011a407ba9a Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Tue, 27 Mar 2018 14:35:05 +0000 Subject: [PATCH] 1. Columns changed from 4 to 3 for 'Search Projects' in community portals ('Acronym' and 'Name' merged to 'Project'). 2. Links added to 'Search Projects' and 'Search Content Providers' in community portals. git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@51537 d315682c-612b-4755-9ff5-7f18f6832af3 --- .../searchPageTableView.component.html | 20 ++++++++++++++++++- .../searchPageTableView.component.ts | 4 ++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/searchPages/searchUtils/searchPageTableView.component.html b/searchPages/searchUtils/searchPageTableView.component.html index f8bf49cc..66caa8ea 100644 --- a/searchPages/searchUtils/searchPageTableView.component.html +++ b/searchPages/searchUtils/searchPageTableView.component.html @@ -128,13 +128,25 @@ - + + + + + + {{result.name}} + ( + {{result.acronym}} + ) + [no title available] + {{result.grantId}} @@ -146,6 +158,12 @@ + + + {{result.name}} + [no name available] + + {{result.officialname}} - diff --git a/searchPages/searchUtils/searchPageTableView.component.ts b/searchPages/searchUtils/searchPageTableView.component.ts index 8efa867b..5ff0f030 100644 --- a/searchPages/searchUtils/searchPageTableView.component.ts +++ b/searchPages/searchUtils/searchPageTableView.component.ts @@ -490,4 +490,8 @@ Transform initial - not filtered results to get the filtered number return true; } + + public encode(param: string): string { + return StringUtils.URIEncode(param); + } }