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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 19 Feb 2017 20:02:48 +0000 (21:02 +0100)
commit34eff6378614572735d768824695b104564ce76f
tree74589e8f2b014f55f4e7e87f4920a25b3c4d3f78
parent7ee00feb7098c6413ae372fda5c03a14ccfbbe2c
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>
(cherry picked from commit c6e09ca3877ced4afb05ea27175c46aa134dc3b3)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc