diff --git a/ui/ui-frontend/projects/archive-search/src/app/archive/criteria-search/criteria-search.component.html b/ui/ui-frontend/projects/archive-search/src/app/archive/criteria-search/criteria-search.component.html index eb24e80e2a1..6e0f549b29d 100644 --- a/ui/ui-frontend/projects/archive-search/src/app/archive/criteria-search/criteria-search.component.html +++ b/ui/ui-frontend/projects/archive-search/src/app/archive/criteria-search/criteria-search.component.html @@ -150,7 +150,7 @@ ? ('ARCHIVE_SEARCH.SEARCH_CRITERIA_FILTER.FIELDS.GUID_TO_INCLUDE' | translate) : ('ARCHIVE_SEARCH.SEARCH_CRITERIA_FILTER.FIELDS.GUID_TO_EXCLUDE' | translate)) + ' : ' + - criteriaVal.values[0].label + criteriaVal.values[0].value.value " matTooltipClass="vitamui-tooltip" [matTooltipShowDelay]="300" @@ -167,7 +167,7 @@ ? ('ARCHIVE_SEARCH.SEARCH_CRITERIA_FILTER.FIELDS.GUID_TO_INCLUDE' | translate) : ('ARCHIVE_SEARCH.SEARCH_CRITERIA_FILTER.FIELDS.GUID_TO_EXCLUDE' | translate)) + ' : ' + - criteriaVal.values[criteriaVal.values.length - 1].label + criteriaVal.values[criteriaVal.values.length - 1].value.value }} @@ -240,7 +240,7 @@ criteriaValue.valueTranslated ? ('ARCHIVE_SEARCH.SEARCH_CRITERIA_FILTER.' + getCategoryName(criteriaVal.category) + '.' + criteriaValue.label | translate) - : criteriaValue.label + : criteriaVal.key === 'ALL_ARCHIVE_UNIT_TYPES' ? criteriaValue.label : criteriaValue.value.value }}" matTooltipClass="vitamui-tooltip" [matTooltipShowDelay]="300" @@ -264,7 +264,7 @@ criteriaValue.valueTranslated ? ('ARCHIVE_SEARCH.SEARCH_CRITERIA_FILTER.' + getCategoryName(criteriaVal.category) + '.' + criteriaValue.label | translate) - : (criteriaValue.label | truncate: 50) + : criteriaVal.key === 'ALL_ARCHIVE_UNIT_TYPES' ? (criteriaValue.label | truncate: 50) : (criteriaValue.value.value | truncate: 50) }}