diff --git a/services/searchDataproviders.service.ts b/services/searchDataproviders.service.ts index a9aaae20..8a732074 100644 --- a/services/searchDataproviders.service.ts +++ b/services/searchDataproviders.service.ts @@ -428,7 +428,7 @@ export class SearchDataprovidersService { return this.numOfDataproviders(url, properties); } - numOfSearchDataproviders(params: string, properties:EnvProperties, refineQuery:string):any { + numOfSearchDataproviders(params: string, properties:EnvProperties, refineQuery:string=null):any { let url: string = properties.searchAPIURLLAst+"datasources/count?format=json"; if(params != "") { url += "&q=" + StringUtils.URIEncode(params);