From c9c13f4b29670e60441e214c94854bb25eb2d0ac Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Wed, 12 Oct 2016 13:51:00 +0000 Subject: [PATCH] Import missing service - from previous commit, solving tabs issues (all visible) git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@44049 d315682c-612b-4755-9ff5-7f18f6832af3 --- .../app/searchPages/find/search.component.ts | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/portal-2/src/app/searchPages/find/search.component.ts b/portal-2/src/app/searchPages/find/search.component.ts index 86fe2c6c..f20cc058 100644 --- a/portal-2/src/app/searchPages/find/search.component.ts +++ b/portal-2/src/app/searchPages/find/search.component.ts @@ -15,6 +15,7 @@ import {SearchProjectsService} from '../../services/searchProjects.service'; import {SearchDatasetsService} from '../../services/searchDatasets.service'; import {SearchPeopleService} from '../../services/searchPeople.service'; import {SearchOrganizationsService} from '../../services/searchOrganizations.service'; +import {RefineResultsService} from '../../services/servicesUtils/refineResuts.service'; import {OpenaireProperties} from '../../utils/properties/openaireProperties'; @@ -71,23 +72,23 @@ import {OpenaireProperties} from '../../utils/properties/openaireProperties';
View all {{searchPublicationsComponent.totalResults}} results
-
+ -
+ -
+ -
+ -
+ @@ -130,12 +131,13 @@ export class SearchComponent { private _searchProjectsService: SearchProjectsService, private _searchDatasetsService: SearchDatasetsService, private _searchOrganizationsService: SearchOrganizationsService, - private _searchPeopleService: SearchPeopleService) { + private _searchPeopleService: SearchPeopleService, + private _refineResultsService: RefineResultsService) { this.searchPublicationsComponent = new SearchPublicationsComponent(this.route, this._searchPublicationsService); this.searchDataProvidersComponent = new SearchDataprovidersComponent(this.route,this._searchDataprovidersService); - this.searchProjectsComponent = new SearchProjectsComponent(this.route, this._searchProjectsService); - this.searchDatasetsComponent = new SearchDatasetsComponent(this.route, this._searchDatasetsService); - this.searchOrganizationsComponent = new SearchOrganizationsComponent(this.route, this._searchOrganizationsService); + this.searchProjectsComponent = new SearchProjectsComponent(this.route, this._searchProjectsService,_refineResultsService); + this.searchDatasetsComponent = new SearchDatasetsComponent(this.route, this._searchDatasetsService,_refineResultsService); + this.searchOrganizationsComponent = new SearchOrganizationsComponent(this.route, this._searchOrganizationsService,_refineResultsService); this.searchPeopleComponent = new SearchPeopleComponent(this.route, this._searchPeopleService); }