Bug 18136: Fix ExportRemoveFields pre-fill behaviour
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 17 Feb 2017 09:59:22 +0000 (10:59 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 17 Feb 2017 11:25:14 +0000 (11:25 +0000)
commitc6e09ca3877ced4afb05ea27175c46aa134dc3b3
tree02d336c07d9b9f8bcf1be8e9ea0c31a9dc40aded
parenta471ad80bb70ed790cf7f544a45cdd3e61672ff4
Bug 18136: Fix ExportRemoveFields pre-fill behaviour

Looks like it's caused by bug 13190.
Variable export_remove_fields is not sent to the template, let's
retrieve the syspref's value using the TT plugin.

Test plan:
Fill ExportRemoveFields with something (100a for instance)
Go on a checkout list page
At the bottom, the "do not export fields" input box should be pre-filled
with the content of the syspref

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc