From 345fd26eaa3ea3f8cf89a61d3369f9b82d1fa04c Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 5 Feb 2021 17:45:34 +0000 Subject: [PATCH] Bug 26602: (QA follow-up) Cleanup datatables settings On letter.tt we had nosort and set things via settings that are default in KohaTable so removed those from letter.js. Also made the last updated column exportable On upload.tt the noExport didn't do anything, because we couldn't export, so moved to used KohaTable Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart (cherry picked from commit 6118d24904297c3b4bc44bf13e5e354b60feb33d) Signed-off-by: Fridolin Somers --- .../intranet-tmpl/prog/en/modules/tools/letter.tt | 4 ++-- .../intranet-tmpl/prog/en/modules/tools/upload.tt | 11 ++++------- koha-tmpl/intranet-tmpl/prog/js/letter.js | 5 ----- 3 files changed, 6 insertions(+), 14 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index aa73af614b..9bc75fc4ef 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -145,8 +145,8 @@ Code Name Last updated - Copy notice - Actions + Copy notice + Actions diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt index 3501c44763..8f428016de 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt @@ -1,6 +1,7 @@ [% USE raw %] [% USE Asset %] [% USE Koha %] +[% USE TablesSettings %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% IF plugin %] @@ -159,7 +160,7 @@ Category [% IF !plugin %]Public[% END %] [% IF !plugin %]Temporary[% END %] - Actions + Actions @@ -256,6 +257,7 @@ [% Asset.js("js/tools-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% Asset.js("js/file-upload.js") | $raw %] + [% INCLUDE 'columns_settings.inc' %]