[master | DONE | CHANGED] Repository dashboard change query to resulthostingid

This commit is contained in:
argirok 2024-01-29 17:12:18 +02:00
parent a7e97746fd
commit b07f99faed
1 changed files with 2 additions and 1 deletions

View File

@ -144,7 +144,8 @@ export class RepositoryComponent extends StakeholderBaseComponent implements OnI
LinksResolver.setSearchAndResultLanding("repository/" + this.stakeholder.alias);
this._customFilterService.setCustomFilter(
[new SearchCustomFilter("National", "country", "IE", "Irish National Monitor", false),
new SearchCustomFilter("Repository", "collectedfromdatasourceid", this.stakeholder.index_id, this.stakeholder.index_name, true)
new SearchCustomFilter("Repository", "resulthostingdatasourceid", this.stakeholder.index_id, this.stakeholder.index_name, true)
// new SearchCustomFilter("Repository", "collectedfromdatasourceid", this.stakeholder.index_id, this.stakeholder.index_name, true)
]);
this.subscriptions.push(this.searchDataprovidersService.searchDataproviderById(this.stakeholder.index_id).subscribe(data => {
this.stakeholder.details = data[0];