From c9970fcb388ae97b1ab3023013d31f2486f0896c Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Mon, 19 May 2025 15:26:21 +0200 Subject: [PATCH] fixed saving state --- public/plugins/vue/tt-components/tt-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/plugins/vue/tt-components/tt-table.js b/public/plugins/vue/tt-components/tt-table.js index 46f1348ed..ecfede3fe 100644 --- a/public/plugins/vue/tt-components/tt-table.js +++ b/public/plugins/vue/tt-components/tt-table.js @@ -418,7 +418,7 @@ Vue.component('tt-table', { if (this.disableFiltering) return; const filters = Object.entries(this.filters).reduce((acc, [key, value]) => { - if (!value) { + if (!value && value !== 0) { return acc; // Skip empty strings } value = JSON.parse(JSON.stringify(value)); // Deep copy to avoid Vue reactivity