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>
This commit is contained in:
parent
a471ad80bb
commit
c6e09ca387
|
|
@ -60,7 +60,7 @@
|
|||
[% END %]
|
||||
</select>
|
||||
|
||||
<label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% export_remove_fields %]" title="Use for iso2709 exports" />
|
||||
<label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% Koha.Preference('ExportRemoveFields') %]" title="Use for iso2709 exports" />
|
||||
<input type="hidden" name="op" value="export" />
|
||||
<input type="hidden" id="output_format" name="output_format" value="iso2709" />
|
||||
<input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue