From 1e042b712a584bf2524275e912152756d4e4771a Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Wed, 9 May 2018 13:55:31 +0000 Subject: [PATCH] fix parameter for advanced search url | changes in src/assets/discover-custom.css git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@51985 d315682c-612b-4755-9ff5-7f18f6832af3 --- .../simple/searchDatasets.component.ts | 2 +- .../simple/searchPublications.component.ts | 2 +- .../simple/searchSoftware.component.ts | 2 +- src/assets/discover-custom.css | 26 +++++++++++++++++++ 4 files changed, 29 insertions(+), 3 deletions(-) diff --git a/src/app/searchPages/simple/searchDatasets.component.ts b/src/app/searchPages/simple/searchDatasets.component.ts index 71e8b09..a8b0a06 100644 --- a/src/app/searchPages/simple/searchDatasets.component.ts +++ b/src/app/searchPages/simple/searchDatasets.component.ts @@ -31,7 +31,7 @@ export class OpenaireSearchDatasetsComponent { this.route.queryParams.subscribe(data => { if(data['communityId'] && data['communityId']!=""){ - this.advancedSearchParameters = {community: data['community'], co: "and"}; + this.advancedSearchParameters = {community: data['communityId'], co: "and"}; this.connectCommunityId = data['communityId']; } }); diff --git a/src/app/searchPages/simple/searchPublications.component.ts b/src/app/searchPages/simple/searchPublications.component.ts index cf2fa08..d279cde 100644 --- a/src/app/searchPages/simple/searchPublications.component.ts +++ b/src/app/searchPages/simple/searchPublications.component.ts @@ -32,7 +32,7 @@ export class OpenaireSearchPublicationsComponent { this.route.queryParams.subscribe(data => { if(data['communityId'] && data['communityId']!=""){ - this.advancedSearchParameters = {community: data['community'], co: "and"}; + this.advancedSearchParameters = {community: data['communityId'], co: "and"}; this.connectCommunityId = data['communityId']; } }); diff --git a/src/app/searchPages/simple/searchSoftware.component.ts b/src/app/searchPages/simple/searchSoftware.component.ts index c00f0b0..23bd56c 100644 --- a/src/app/searchPages/simple/searchSoftware.component.ts +++ b/src/app/searchPages/simple/searchSoftware.component.ts @@ -31,7 +31,7 @@ export class OpenaireSearchSoftwareComponent { this.route.queryParams.subscribe(data => { if(data['communityId'] && data['communityId']!=""){ - this.advancedSearchParameters = {community: data['community'], co: "and"}; + this.advancedSearchParameters = {community: data['communityId'], co: "and"}; this.connectCommunityId = data['communityId']; } }); diff --git a/src/assets/discover-custom.css b/src/assets/discover-custom.css index 501c20a..2f59196 100644 --- a/src/assets/discover-custom.css +++ b/src/assets/discover-custom.css @@ -555,3 +555,29 @@ h2, .uk-h2{ font-weight: 600; color: #fff !important; } + +dd{ + margin-top: 10px; + border-bottom: 1px solid #e8e8e8; + padding-bottom: 5px; +} + +dd:last-child { + border-bottom: none; +} + +.advancedSearchForm { + box-shadow: 0 1px 10px #444444; +} +.advancedSearchForm .uk-icon-button { + + fill: #296EE9 !important; + +} + +.search-results li { + + margin-bottom: 30px !important; + padding-top: 15px !important; + +}