Bugzilla – Attachment 31915 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
0001-Bug-12927-Problems-with-item-information-tab-on-acq-.patch (text/plain), 2.77 KB, created by
Paola Rossi
on 2014-09-29 12:48:57 UTC
(
hide
)
Description:
Bug 12927: Problems with item information tab on acq order from staged page
Filename:
MIME Type:
Creator:
Paola Rossi
Created:
2014-09-29 12:48:57 UTC
Size:
2.77 KB
patch
obsolete
>From f675c0d33d09ec5702ca4db57533c22c21c22cb4 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 > >Signed-off-by: Paola Rossi <paola.rossi@cineca.it> >--- > .../intranet-tmpl/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.10.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 12927
:
31639
|
31915
|
31925