Bug 3727: Corrects the behaviour of the itemtype selectbox in addbiblio.pl
authorFrédérick Capovilla <frederick.capovilla@sys-tech.net>
Fri, 1 Apr 2011 10:23:12 +0000 (12:23 +0200)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 11 Apr 2011 19:22:09 +0000 (15:22 -0400)
commitd3de84fd81c79791cd57e658318e27431d70b0b9
treeb82b9040ed5e92244b7a4933f8930a618a6cec75
parent1a576deba44630fa4d8b6dedc13f7b6b1ccddcc5
Bug 3727: Corrects the behaviour of the itemtype selectbox in addbiblio.pl

If the subfield is set as mandatory with an empty default value, an
empty value is added in the selectbox and this value is selected by
default. Before, the first element was automatically selected, so it was
easy to forget to set this mandatory value.

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit f7d9ebbff3ab9b620b0c0b80b3dc28c51753ec13)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
cataloguing/addbiblio.pl