From 8cf8f236ba2bbef73cc1715dc9ab082ad7d4ac17 Mon Sep 17 00:00:00 2001 From: fretman92 Date: Sat, 14 Oct 2023 10:26:39 +0200 Subject: [PATCH] Enable built-in state saving for Tasks datatable (#1333) * enable built-in stateSave for tasks table * empty commit --- CONTRIBUTORS | 1 + flower/static/js/flower.js | 1 + 2 files changed, 2 insertions(+) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index e0f107d1a..89fe740f5 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -97,3 +97,4 @@ Lukas Matta Tomasz Kluczkowski Alexey Nikitenko Sergey Klyuykov +Louis Frament \ No newline at end of file diff --git a/flower/static/js/flower.js b/flower/static/js/flower.js index a1b2ea117..3924dd2eb 100644 --- a/flower/static/js/flower.js +++ b/flower/static/js/flower.js @@ -546,6 +546,7 @@ var flower = (function () { colReorder: true, lengthMenu: [15, 30, 50, 100], pageLength: 15, + stateSave: true, language: { lengthMenu: 'Show _MENU_ tasks', info: 'Showing _START_ to _END_ of _TOTAL_ tasks',