From ec57ba0dccecdf1cba27be6c913560abd8ae9891 Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Mon, 4 Mar 2024 10:39:01 +0200 Subject: [PATCH] [develop | DONE | FIXED] search page: add a limit of 35 characters and atooltip for displayed selected filters --- .../searchUtils/newSearchPage.component.html | 40 ++++++++++++------- .../searchUtils/newSearchPage.component.ts | 1 + 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/searchPages/searchUtils/newSearchPage.component.html b/searchPages/searchUtils/newSearchPage.component.html index 17c81793..f9143437 100644 --- a/searchPages/searchUtils/newSearchPage.component.html +++ b/searchPages/searchUtils/newSearchPage.component.html @@ -5,7 +5,7 @@
  • - + {{customFilter.valueName}}
  • @@ -15,7 +15,7 @@
  • - + {{type.name}} @@ -66,19 +72,23 @@ -
  • - - +
  • + + {{filter.title}}: {{(value.name=='true'||value.name=='Yes')?'Yes':'No'}} - - {{value.name}} - + + + {{value.name | slice:0:filterPillCharactersLimit}}... + + + {{value.name}} + + + diff --git a/searchPages/searchUtils/newSearchPage.component.ts b/searchPages/searchUtils/newSearchPage.component.ts index 5f62d7d6..cf9f105a 100644 --- a/searchPages/searchUtils/newSearchPage.component.ts +++ b/searchPages/searchUtils/newSearchPage.component.ts @@ -131,6 +131,7 @@ export class NewSearchPageComponent implements OnInit, OnDestroy, OnChanges { public parameterNames: string[] = []; public parameterValues: string[] = []; + filterPillCharactersLimit: number = 35; public csvLimit: number = 0; public pagingLimit: number = 0; public resultsPerPage: number = 0;