Bug 12673: (followup) fix Supplemental issue too

The same fix needs to be used for the 'Supplemental issue' part.
To test, use the same test steps used for the previous followup,
but choose "Arrived" in the 'Supplemental issue' row.

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Tomás Cohen Arazi 2014-08-13 20:36:47 -03:00
parent 6ffe00c56d
commit 388f9d235f

View file

@ -407,7 +407,19 @@ $(document).ready(function() {
[% ELSE %]
<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="[% newserialloo.itemid %]" />
<input type="hidden" name="kohafield" value="[% iteminformatio.kohafield %]" />
<input type="hidden" name="tag" value="[% iteminformatio.tag %]" />