Bug 27005: (follow-up) Enable the exclusion of columns from export
authorOwen Leonard <oleonard@myacpl.org>
Wed, 27 Jan 2021 11:48:47 +0000 (11:48 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 8 Feb 2021 16:09:32 +0000 (17:09 +0100)
commit7ecd26e4bb926315b4b49709fde6a62ce3804bf5
treee840c3a5e2055288b5a92e144619ce16af3775f8
parentebc20ffef41a62ef31f0be5e5f16cea68ed0107f
Bug 27005: (follow-up) Enable the exclusion of columns from export

This patch copies code from the staff interface which allows us to add a
class to table columns which should not be included in print or export
operations. The hidden column which facilitates the "Checkouts" and
"On-site checkouts" tabs can now be hidden in prints and exports.

To test, apply the patch and follow the previous test plan. When testing
the export and print buttons, confirm that the column with
"standard_checkout" data is not included.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/opac-tmpl/bootstrap/en/includes/columns_settings.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt