Merge Changes from Develop #28
|
@ -444,7 +444,7 @@ export class SearchAllComponent {
|
|||
this.fetchDataproviders.results = [];
|
||||
this.reload["datasources"] = false;
|
||||
// this.fetchDataproviders.getNumForSearch(this.keyword, this.properties, refineParams);
|
||||
this.subs.push(this._searchDataprovidersService.numOfSearchDataproviders2(this.keyword.length>0?NewSearchPageComponent.createKeywordQuery("datasources",this.keyword,"q","="):"", this.properties, refineParams).subscribe(
|
||||
this.subs.push(this._searchDataprovidersService.numOfSearchDataproviders2(this.keyword.length>0?NewSearchPageComponent.createKeywordQuery("dataprovider",this.keyword,"q","="):"", this.properties, refineParams).subscribe(
|
||||
data => {
|
||||
this.fetchDataproviders.searchUtils.totalResults = data;
|
||||
this.fetchDataproviders.searchUtils.status = this.errorCodes.DONE;
|
||||
|
@ -463,7 +463,7 @@ export class SearchAllComponent {
|
|||
if (this.activeEntity != "services" && this.reload["services"] && this.showServices) {
|
||||
this.fetchServices.results = [];
|
||||
this.reload["services"] = false;
|
||||
this.subs.push(this._searchDataprovidersService.numOfSearchDataproviders2(this.keyword.length>0?NewSearchPageComponent.createKeywordQuery("datasources",this.keyword,"q","="):"", this.properties, refineParams, "services").subscribe(
|
||||
this.subs.push(this._searchDataprovidersService.numOfSearchDataproviders2(this.keyword.length>0?NewSearchPageComponent.createKeywordQuery("service",this.keyword,"q","="):"", this.properties, refineParams, "services").subscribe(
|
||||
data => {
|
||||
this.fetchServices.searchUtils.totalResults = data;
|
||||
this.fetchServices.searchUtils.status = this.errorCodes.DONE;
|
||||
|
|
Loading…
Reference in New Issue