From 2bea73a935bd5cc69c1267ce5fcb9100b9c6c5da Mon Sep 17 00:00:00 2001
From: avc <94137451+git-avc@users.noreply.github.com>
Date: Mon, 15 Apr 2024 14:15:02 +0200
Subject: [PATCH] fix: filter button translation (#25944)
(cherry picked from commit 55b1e4a167d1d5279747220d8ab5aa0733d8b9aa)
---
frappe/public/js/frappe/ui/filters/filter_list.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frappe/public/js/frappe/ui/filters/filter_list.js b/frappe/public/js/frappe/ui/filters/filter_list.js
index ac80ce28e66..329db36a781 100644
--- a/frappe/public/js/frappe/ui/filters/filter_list.js
+++ b/frappe/public/js/frappe/ui/filters/filter_list.js
@@ -130,7 +130,7 @@ frappe.ui.FilterGroup = class {
update_filter_button() {
const filters_applied = this.filters.length > 0;
const button_label = filters_applied
- ? __("Filters {0}", [this.filters.length])
+ ? __("Filters {0}", [`${this.filters.length}`])
: __("Filter");
this.filter_button