Bug 21216: (follow-up) Exclude some columns from export
commit023ab5845ac53c9f80ee69562d6c26f85b8b00f4
authorOwen Leonard <oleonard@myacpl.org>
Mon, 24 Sep 2018 13:37:16 +0000 (24 13:37 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 24 Oct 2018 13:38:49 +0000 (24 13:38 +0000)
tree46339d0e318c242efccde27ef0f72e3aa45a5468
parent8960cee9abc3f6a7bd2ffce89a204f273d508926
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 <black23@gmail.com>
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/columns_settings.inc
koha-tmpl/intranet-tmpl/prog/js/letter.js