Bug 16449: Remove "no method selected" warning from unimarc_field_4XX
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 5 May 2016 14:25:50 +0000 (15:25 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 2 Sep 2016 13:56:56 +0000 (13:56 +0000)
commita3082158e46cf643c99721052268e762e7050868
treeb0813a25c86b52edb4910b830ded7b7bf79d7259
parente31de618ddfb6f627d93a6bd5cffcdce570dfc4d
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>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_4XX.tt