bug 2206: always have $9 for headings fields
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 24 Jun 2008 22:12:23 +0000 (17:12 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 25 Jun 2008 16:39:23 +0000 (11:39 -0500)
commit8894d28779b723410aeac3e947c7f5ebb814eb60
treebc769cdee9b8fea204a58079538c58006bf41625
parentc80b328aaeec50a765c6a127e422ac41ceca629a
bug 2206: always have $9 for headings fields

If a field can be linked to an authority record (i.e.,
an authtypecode is defined for subfield $a), always
include the subfield $9 in a (readonly) input element even
if it is marked hidden per the MARC framework.

Prior to this patch, a $9 marked hidden per the framework
would not be included in the form, causing the authority record
number link to not be added when choosing a heading from the authority
finder.  In other words, with BiblioAddsAuthorities OFF,
any authorized headings in bibs added via the MARC editor
would not have the subfield $9, and thus would appear
to not be used by any bibs.

Note that subfield $9 is set to be readonly, as changing the
authority number link does not currently change the
heading stored in the bib record.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
cataloguing/addbiblio.pl