From bfcbaa6b7b6cb84dee405dd6b5daf76be0684b1e Mon Sep 17 00:00:00 2001 From: argirok Date: Fri, 6 Oct 2023 17:28:37 +0300 Subject: [PATCH] Browse projects with new API: get results for the first load, after loading the funders --- src/app/searchPages/simple/searchProjects.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/searchPages/simple/searchProjects.component.ts b/src/app/searchPages/simple/searchProjects.component.ts index 17d7a13..177e87d 100644 --- a/src/app/searchPages/simple/searchProjects.component.ts +++ b/src/app/searchPages/simple/searchProjects.component.ts @@ -94,7 +94,6 @@ export class OpenaireSearchProjectsComponent { this.searchPage.prepareSearchPage(this.fieldIds, this.selectedFields, this.refineFields, [], this.fieldIdsMap, this.customFilter, params, "project"); if(this.initialLoad) { this.initialLoad = false; - this._getResults(); this._getCommunityFunders(); }else{ this._getResults(); @@ -211,6 +210,7 @@ export class OpenaireSearchProjectsComponent { this.subscriptions.push(this._searchProjectsService.getProjectFunders(this.properties, this.communityId).subscribe( data => { this.originalFunders = data + this._getResults(); }, err => { }