Bugzilla – Attachment 60397 Details for
Bug 18136
Content of ExportRemoveFields is not picked to pre-fill field list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18136: Fix ExportRemoveFields pre-fill behaviour
Bug-18136-Fix-ExportRemoveFields-pre-fill-behaviou.patch (text/plain), 1.94 KB, created by
Marcel de Rooy
on 2017-02-17 11:02:23 UTC
(
hide
)
Description:
Bug 18136: Fix ExportRemoveFields pre-fill behaviour
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2017-02-17 11:02:23 UTC
Size:
1.94 KB
patch
obsolete
>From 4505576610496eedacb5c83c085585747372f88a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 17 Feb 2017 10:59:22 +0100 >Subject: [PATCH] Bug 18136: Fix ExportRemoveFields pre-fill behaviour >Content-Type: text/plain; charset=utf-8 > >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> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc >index 98a6a22..1d103a0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc >@@ -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" /> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18136
:
60384
| 60397