From a4d9aa5acd4fabafa426135fac99f8c1bf88e112 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 --- .../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 636cc5a..7aa51cd 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 %] -