Bugzilla – Attachment 31639 Details for
Bug 12927
Problems with item information tab on acq order from staged page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12927: Problems with item information tab on acq order from staged page
Bug-12927-Problems-with-item-information-tab-on-ac.patch (text/plain), 2.65 KB, created by
Bernardo Gonzalez Kriegel
on 2014-09-16 17:57:57 UTC
(
hide
)
Description:
Bug 12927: Problems with item information tab on acq order from staged page
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2014-09-16 17:57:57 UTC
Size:
2.65 KB
patch
obsolete
>From 32cb38b2f0630ed39aaa96fd81de78d9d721c4d6 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Tue, 16 Sep 2014 14:48:50 -0300 >Subject: [PATCH] Bug 12927: Problems with item information tab on acq order > from staged page > >This patch fixes a regression introduced (by me) >on Bug 12673. > >I adds the code needed to display properly all fields > >To test: >1) Check that 'AcqCreateItem' syspref is set to 'placing an order' >2) Satage a file with some items >3) Go to a Vendor, create a basket, clic add from staged file, select your file >4) On 'Item information' tab fields are displayed wrong > >5) Apply the patch > >6) Reload, display must now be fixed >--- > .../prog/en/modules/acqui/addorderiso2709.tt | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >index 0974e92..cf03b7c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt >@@ -283,7 +283,19 @@ > <label>[% iteminformatio.subfield %] - [% iteminformatio.marc_lib %]</label> > [% END %] > >+ [% IF ( iteminformatio.marc_value.type == 'select' ) %] >+ <select name="field_value" size="1"> >+ [% FOREACH value IN iteminformatio.marc_value.values %] >+ [% IF ( value == iteminformatio.marc_value.default ) %] >+ <option value="[% value %]" selected="selected">[% iteminformatio.marc_value.labels.$value %]</option> >+ [% ELSE %] >+ <option value="[% value %]">[% iteminformatio.marc_value.labels.$value %]</option> >+ [% END %] >+ [% END %] >+ </select> >+ [% ELSE %] > [% iteminformatio.marc_value %] >+ [% END %] > <input type="hidden" name="itemid" value="1" /> > <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" /> > <input type="hidden" name="tag" value="[% iteminformatio.tag %]" /> >-- >1.7.9.5
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 12927
:
31639
|
31915
|
31925