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)
committerMason James <mtj@kohaaloha.com>
Wed, 22 Feb 2017 21:26:47 +0000 (10:26 +1300)
commit9703b41636dd541c33394ebc9af7e14307a3b96c
tree5d04fa766656a32f2df17dcdce4631b55ab10fdc
parentb9d734cbfa4a9ff673a456ac85874806ee19a260
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: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc