[develop | FIXED | DONE] add missing parameter (staticFields) in search dataproviders+projects for function prepareSearchPage()

This commit is contained in:
Alex Martzios 2024-01-11 12:16:43 +02:00
parent 8bb4862a7f
commit 6efcd9df60
5 changed files with 6 additions and 6 deletions

@ -1 +1 @@
Subproject commit f537920702a51fe5590c20cfc307dade7e0eff55
Subproject commit 6f13ab475a71fcc53f4eb70307ae8b60b20375f8

View File

@ -94,7 +94,7 @@ export class OpenaireSearchDataprovidersComponent {
this.searchUtils.validateSize(params['size']);
this.keyword = decodeURIComponent(params['fv0']?params['fv0']:(params['keyword']?params['keyword']:''));
this.selectedFields = [];
this.searchPage.prepareSearchPage(this.fieldIds, this.selectedFields, [], [], this.fieldIdsMap, this.customFilter, params, "dataprovider");
this.searchPage.prepareSearchPage(this.fieldIds, this.selectedFields, [], [], [], this.fieldIdsMap, this.customFilter, params, "dataprovider");
if (this.initialLoad) {
this.initialLoad = false;
this._getResults();
@ -163,7 +163,7 @@ export class OpenaireSearchDataprovidersComponent {
this.searchUtils.totalResults = results.length;
this.results = results.slice((this.searchUtils.page - 1) * this.searchUtils.size, this.searchUtils.page *this.searchUtils.size );
this.searchUtils.status = this.results.length == 0 ? this.errorCodes.NONE: this.errorCodes.DONE;
this.searchPage.buildPageURLParameters(this.filters, [], false);
this.searchPage.buildPageURLParameters(this.filters, [], [], false);
this.disableForms = false;
this.enableSearchView = true;
}

View File

@ -96,7 +96,7 @@ export class OpenaireSearchProjectsComponent {
this.searchUtils.validateSize(params['size']);
this.keyword = decodeURIComponent(params['fv0']?params['fv0']:(params['keyword']?params['keyword']:''));
this.selectedFields = [];
this.searchPage.prepareSearchPage(this.fieldIds, this.selectedFields, this.refineFields, [], this.fieldIdsMap, this.customFilter, params, "project");
this.searchPage.prepareSearchPage(this.fieldIds, this.selectedFields, this.refineFields, [], [], this.fieldIdsMap, this.customFilter, params, "project");
if(this.initialLoad) {
this.initialLoad = false;
this._getCommunityFunders();

@ -1 +1 @@
Subproject commit b68f375714b679743e586bb2fb4721e633e43fc1
Subproject commit ee22e97b114be823b7ab4e6c41a9cbff93b24e3a

@ -1 +1 @@
Subproject commit bdc26845e4e61a031df51cf07440b10b13458897
Subproject commit df6a0527e9bce69f016da8d28b79885c351104c6