From 0896d5a3ceba923b6958cd8ec55fca308302deaa Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Tue, 9 Jul 2024 17:19:13 +0300 Subject: [PATCH] [develop | DONE | CHANGED]: searchResearchResults.component.ts & searchProjects.component.ts & searchOrganizations.component.ts & searchDataProviders.component.ts: In added parameter [hasCompactView]="true" to enable compact view button. --- searchPages/searchDataProviders.component.ts | 4 ++-- searchPages/searchOrganizations.component.ts | 3 ++- searchPages/searchProjects.component.ts | 3 ++- searchPages/searchResearchResults.component.ts | 1 + 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/searchPages/searchDataProviders.component.ts b/searchPages/searchDataProviders.component.ts index 9df47832..46acfebc 100644 --- a/searchPages/searchDataProviders.component.ts +++ b/searchPages/searchDataProviders.component.ts @@ -44,8 +44,8 @@ import {zip} from "rxjs"; [showResultCount]="true" [showIndexInfo]="type!='deposit'" [tableViewLink]="tableViewLink" [sort]="false" [showBreadcrumb]="showBreadcrumb" [basicMetaDescription]="metaDescription" - (filterRequestAll)="filterRequestedAll($event)"> - + (filterRequestAll)="filterRequestedAll($event)" + [hasCompactView]="true"> ` diff --git a/searchPages/searchOrganizations.component.ts b/searchPages/searchOrganizations.component.ts index a5276ada..bfe5aab6 100644 --- a/searchPages/searchOrganizations.component.ts +++ b/searchPages/searchOrganizations.component.ts @@ -39,7 +39,8 @@ import {zip} from "rxjs"; [simpleView]="simpleView" formPlaceholderText="Search by organization name..." [showSwitchSearchLink]="showSwitchSearchLink" [showBreadcrumb]="showBreadcrumb" - (filterRequestAll)="filterRequestedAll($event)"> + (filterRequestAll)="filterRequestedAll($event)" + [hasCompactView]="true"> ` }) diff --git a/searchPages/searchProjects.component.ts b/searchPages/searchProjects.component.ts index cb90599d..764289e6 100644 --- a/searchPages/searchProjects.component.ts +++ b/searchPages/searchProjects.component.ts @@ -38,7 +38,8 @@ import {zip} from "rxjs"; [simpleView]="simpleView" formPlaceholderText="Search by title, acronym, project code..." [showSwitchSearchLink]="showSwitchSearchLink" [sort]="false" [showBreadcrumb]="showBreadcrumb" - (filterRequestAll)="filterRequestedAll($event)"> + (filterRequestAll)="filterRequestedAll($event)" + [hasCompactView]="true"> ` diff --git a/searchPages/searchResearchResults.component.ts b/searchPages/searchResearchResults.component.ts index 33ea7fcc..7c361225 100644 --- a/searchPages/searchResearchResults.component.ts +++ b/searchPages/searchResearchResults.component.ts @@ -44,6 +44,7 @@ import {zip} from "rxjs"; [includeOnlyResultsAndFilter]="includeOnlyResultsAndFilter" [showBreadcrumb]="showBreadcrumb" [showSwitchSearchLink]="showSwitchSearchLink" [stickyForm]="stickyForm" + [hasCompactView]="true" (filterRequestAll)="filterRequestedAll($event)" >