From dbf562b701191a581ae84b2aebfa7f4ea75d50c2 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Fri, 1 Jul 2022 16:34:36 +0200 Subject: [PATCH] Export table tcue: close #421 --- app/static/js/table_recap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/table_recap.js b/app/static/js/table_recap.js index b9c86d5f..1e13fd0d 100644 --- a/app/static/js/table_recap.js +++ b/app/static/js/table_recap.js @@ -154,7 +154,7 @@ $(function () { }, { // Elimine les 0 à gauche pour les exports excel et les "copy" - targets: ["col_mod", "col_moy_gen", "col_ue", "col_res", "col_sae", "evaluation"], + targets: ["col_mod", "col_moy_gen", "col_ue", "col_res", "col_sae", "evaluation", "col_rcue"], render: function (data, type, row) { return type === 'export' ? data.replace(/0(\d\..*)/, '$1') : data; }