start of big MARC21 authorities work
authorGalen Charlton <galen.charlton@liblime.com>
Fri, 4 Jan 2008 22:59:38 +0000 (16:59 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Sat, 5 Jan 2008 00:42:40 +0000 (18:42 -0600)
commit8340c478fac12897e7a53f5701fd01747f7b5a61
treeb1b0c81851b2917d241e0834f119b17d790ac75e
parent25b4628e8d94f43f039dceccfc0efc834460e0a8
start of big MARC21 authorities work

* Defined local field 942$a to store the authority type
  for MARC21 instead of 152$b
* Added 942$b to MARC21 authority framework.
* Added auth_header.authid and auth_header.authtypecode
  to appropriate subfields in MARC21 authority framework.
* Started work on two new modules:
    C4::AuthoritiesMarc::MARC21
    C4::AuthoritiesMarc::UNIMARC
  These modules will be used to extract MARC-format-specific
  behavior out of C4::AuthoritiesMarc
* Updated Zebra config for MARC21 to use only the 942$a
  for the authority type.
* For MARC21, added logic to move 152$b to 942$a for
  existing authority records.  Specifically, AddAuthority
  now does this move when a record is saved, while
  GetAuthority and GetAuthorityXML do this when
  extracting a record for other use.  This logic
  is temporary, and can hopefully be removed later, once
  use of 152$b in MARC21 authorities is confirmed to be
  absent for Koha users.  I will also create a batch
  job to do this update in one fell swoop.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/AuthoritiesMarc.pm
etc/zebradb/marc_defs/marc21/authorities/record.abs
installer/data/mysql/en/marcflavour/marc21/mandatory/authorities_normal_marc21.sql