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 Cormack <chrisc@catalyst.net.nz>
Fri, 1 Apr 2011 17:21:58 +0000 (06:21 +1300)
commitf7d9ebbff3ab9b620b0c0b80b3dc28c51753ec13
treecbcae6cbcf8cb54ab96ba770177c7ff81fcaaac2
parentdc37fe9730f00d8dcc1c97029da816f66a0f9a02
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>
cataloguing/addbiblio.pl