From 023ab5845ac53c9f80ee69562d6c26f85b8b00f4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 24 Sep 2018 13:37:16 +0000 Subject: [PATCH] Bug 21216: (follow-up) Exclude some columns from export This patch adds a custom buttons configuration to the Notices table so that columns with form controls are not included in copy/print/export operations. The DataTables columns settings include file has been modified to check for an existing buttons export columns configuration before applying the default. To test, apply the patch and clear your browser cache if necessary. Go to Tools -> Notices & slips. The table of notices should have a DataTables toolbar with a filter form, column visibility, and export buttons. Test the functionality of all these tools. Only the first four columns of the table should be included in printouts and exported files. Signed-off-by: Michal Denar Signed-off-by: Michal Denar Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- .../prog/en/includes/columns_settings.inc | 19 +++++++++++++------ koha-tmpl/intranet-tmpl/prog/js/letter.js | 3 ++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc index 636cc5a562..7aa51cda75 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc @@ -1,6 +1,6 @@ [% USE ColumnsSettings %] -