From b3fcd1f6e87dfb7eeb7fbacfe67462f05d1f5ae5 Mon Sep 17 00:00:00 2001 From: Spitzer Daniel Date: Fri, 26 Apr 2024 10:18:13 +0200 Subject: [PATCH] =?UTF-8?q?Datatables=20Uptate=20*=20Statusspeicherung=20a?= =?UTF-8?q?uf=201=20Monat=20erh=C3=B6ht=20bei=20allen=20DTs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/assets/js/datatables-std.js | 1 + public/js/pages/timerecording/index.js | 1 + public/js/pages/timerecordingReport/index.js | 1 + 3 files changed, 3 insertions(+) diff --git a/public/assets/js/datatables-std.js b/public/assets/js/datatables-std.js index 6237d0ef2..505d293c1 100644 --- a/public/assets/js/datatables-std.js +++ b/public/assets/js/datatables-std.js @@ -63,6 +63,7 @@ table = $('#datatable').DataTable({ }, orderCellsTop: true, stateSave: true, + stateDuration: 60 * 60 * 24 * 30, "initComplete": function () { $('#datatable_filter').append(''); $('#clear_cookie').click(function () { diff --git a/public/js/pages/timerecording/index.js b/public/js/pages/timerecording/index.js index c2bf0611b..56f8dcc46 100644 --- a/public/js/pages/timerecording/index.js +++ b/public/js/pages/timerecording/index.js @@ -58,6 +58,7 @@ table = $('#datatable').DataTable({ }, orderCellsTop: true, stateSave: true, + stateDuration: 60 * 60 * 24 * 30, "initComplete": function () { $('#datatable_filter').append(''); $('#clear_cookie').click(function () { diff --git a/public/js/pages/timerecordingReport/index.js b/public/js/pages/timerecordingReport/index.js index 44307a3e7..76f10a64d 100644 --- a/public/js/pages/timerecordingReport/index.js +++ b/public/js/pages/timerecordingReport/index.js @@ -62,6 +62,7 @@ table = $('#datatable').DataTable({ }, orderCellsTop: true, stateSave: true, + stateDuration: 60 * 60 * 24 * 30, "initComplete": function () { $('#datatable_filter').append(''); $('#clear_cookie').click(function () {