From ccb4b4c52df18ce011a99d5710a972975bf8eb80 Mon Sep 17 00:00:00 2001 From: "swapnil.verma" Date: Wed, 14 Jun 2023 12:40:18 +0530 Subject: [PATCH] [ACS-4985] Updated Labels for 'In last' date range option --- .../search-date-range-advanced.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/content-services/src/lib/search/components/search-date-range-advanced/search-date-range-advanced.component.ts b/lib/content-services/src/lib/search/components/search-date-range-advanced/search-date-range-advanced.component.ts index 98fd2e9031..16e974c3f3 100644 --- a/lib/content-services/src/lib/search/components/search-date-range-advanced/search-date-range-advanced.component.ts +++ b/lib/content-services/src/lib/search/components/search-date-range-advanced/search-date-range-advanced.component.ts @@ -213,7 +213,7 @@ export class SearchDateRangeAdvancedComponent implements SearchWidget, OnInit, O switch (this.dateRangeTypeValue) { case DateRangeType.IN_LAST: if (this.hasValidValue()) { - displayLabel = `${this.translate.instant('SEARCH.DATE_RANGE_ADVANCED.OPTIONS.IN_LAST')} ${this.inLastValue} ${this.translate.instant(`SEARCH.DATE_RANGE_ADVANCED.IN_LAST_LABELS.${this.inLastValueType}`)}`; + displayLabel = this.translate.instant(`SEARCH.DATE_RANGE_ADVANCED.IN_LAST_DISPLAY_LABELS.${this.inLastValueType}`, { value: this.inLastValue }); } break; case DateRangeType.BETWEEN: