[Library|Trunk]

make the new parameter refineQuery in numOfSearchDataproviders of SearchDataprovidersService not required


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@56094 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2019-06-14 13:27:46 +00:00
parent ba31fb7b1c
commit caa40ef87e
1 changed files with 1 additions and 1 deletions

View File

@ -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);