From ffd9ceffb885d3d04e91747df7bff19b4af3e33a Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Fri, 10 Apr 2020 07:31:14 +0000 Subject: [PATCH] [Library | Trunk]L SearchResultsService: revert parameter resultType git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58463 d315682c-612b-4755-9ff5-7f18f6832af3 --- services/searchResearchResults.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/searchResearchResults.service.ts b/services/searchResearchResults.service.ts index 3282d717..fb5a6031 100644 --- a/services/searchResearchResults.service.ts +++ b/services/searchResearchResults.service.ts @@ -31,7 +31,7 @@ export class SearchResearchResultsService { url += "&page="+(page-1)+"&size="+size+"&format=json"; return this.http.get((properties.useCache)? (properties.cacheUrl+encodeURIComponent(url)): url) - .pipe(map(res => [res['meta'].total, this.parseResults('ss', res['results'], properties),RefineResultsUtils.parse(res['refineResults'],refineFields, "publication")])); + .pipe(map(res => [res['meta'].total, this.parseResults(resultType, res['results'], properties),RefineResultsUtils.parse(res['refineResults'],refineFields, "publication")])); } searchById (resultType:string, id: string, properties:EnvProperties ):any {