From 6a786df198ec511498515df3bfb0dec0112595d6 Mon Sep 17 00:00:00 2001 From: adisposkofh Date: Wed, 29 Jul 2026 09:56:00 +0200 Subject: [PATCH] disabling columns, header filters, sort persistence in tabulator where presets are used --- public/js/components/filter/Filter.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/public/js/components/filter/Filter.js b/public/js/components/filter/Filter.js index ece90f596..cd8625349 100644 --- a/public/js/components/filter/Filter.js +++ b/public/js/components/filter/Filter.js @@ -333,6 +333,16 @@ export const CoreFilterCmpt = { ...(this.tabulatorOptions || {}), }; + if ( + this.$props.isUsingPresets && + "tabulatorPreset-" + this.$props.presetsId in + window.localStorage + ) { + tabulatorOptions.persistence.columns = false; + tabulatorOptions.persistence.headerFilter = false; + tabulatorOptions.persistence.sort = false; + } + if (tabulatorOptions.locale) { tabulatorOptions = await this.configureTabulatorLocalizations(