Bug 16449: Remove "no method selected" warning from unimarc_field_4XX

Because of bug 14828, the unimarc_field_4XX now raises a warning:
"No method selected!"

There are no need to select an item type on this page, the default (all)
is always selected.

Test plan:
Link the unimarc_field_4XX value builder with on of the subfield
Edit a record, click on the value builder icon
Note the warning without the patch and that it's gone with the patch
applied

NOTE: Code fix that I derived was identical. Ran
 prove t/db_dependent/FrameworkPlugin.t
to confirm it works.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit a3082158e4)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
Jonathan Druart 2016-05-05 15:25:50 +01:00 committed by Frédéric Demians
parent 7f73ccd02d
commit 48fb9dbfd3
1 changed files with 0 additions and 4 deletions

View File

@ -129,11 +129,7 @@
<select name="itype" id="itypeloop">
<option value="">All item types</option>
[% FOREACH itypeloo IN itypeloop %]
[% IF ( itypeloo.selected ) %]
<option value="[% itypeloo.itemtype %]" selected="selected">[% itypeloo.description |html %]</option>
[% ELSE %]
<option value="[% itypeloo.itemtype %]">[% itypeloo.description |html %]</option>
[% END %]
[% END %]
</select>
</p>