From 09d5c5a6d6767b2acae3c993ead877ae9c10518b Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Thu, 3 Oct 2019 14:10:13 +0000 Subject: [PATCH] [Library|Trunk] Advance search Page: Refine Fields query add special parameter "sf" for funding level fileds to get all values not only top-100 git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@57254 d315682c-612b-4755-9ff5-7f18f6832af3 --- services/refineFieldResults.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/refineFieldResults.service.ts b/services/refineFieldResults.service.ts index f27be2ee..e3450563 100644 --- a/services/refineFieldResults.service.ts +++ b/services/refineFieldResults.service.ts @@ -28,7 +28,8 @@ export class RefineFieldResultsService { } getRefineFieldResultsByFieldName(fieldName:string, entityName:string, properties:EnvProperties):any{ - let link = properties.searchAPIURLLAst +this.getSearchAPIURLForEntity(entityName)+"?fields="+fieldName + "&format=json"; + let key:string="fundinglevel"; + let link = properties.searchAPIURLLAst +this.getSearchAPIURLForEntity(entityName)+"?fields="+fieldName +(fieldName.toString().indexOf(key)!=-1?('&sf='+fieldName):'')+ "&format=json"; return this.getField(link,fieldName, properties); }