Production release December 2023 #27
|
@ -29,7 +29,7 @@ export class RefineFieldResultsService {
|
||||||
|
|
||||||
getAllRefineFieldResultsByFieldName(fieldName:string, entityName:string, properties:EnvProperties, refineQuery:string=null):any{
|
getAllRefineFieldResultsByFieldName(fieldName:string, entityName:string, properties:EnvProperties, refineQuery:string=null):any{
|
||||||
// let keys:string[]=["funder", "relfunder", "fundinglevel"];
|
// let keys:string[]=["funder", "relfunder", "fundinglevel"];
|
||||||
let url = properties.searchAPIURLLAst +this.getSearchAPIURLForEntity(entityName)+"?fields="+fieldName +('&sf='+fieldName)+ "&format=json";
|
let url = properties.searchAPIURLLAst +this.getSearchAPIURLForEntity(entityName)+"?fields="+fieldName +('&sf='+fieldName)+ "&format=json&size=0";
|
||||||
if(refineQuery!= null && refineQuery != '' ) {
|
if(refineQuery!= null && refineQuery != '' ) {
|
||||||
url += refineQuery;
|
url += refineQuery;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue