Bug 6201: Add fields 1xx to marc2bibtex (for MARC21 and NORMARC)
authorBlou <philippe.blouin@inlibro.com>
Thu, 26 Sep 2013 19:45:32 +0000 (15:45 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 9 Oct 2013 05:25:23 +0000 (05:25 +0000)
commit41ae12b561ea08817cb6753680a8ce2950a39fcc
tree99b060622f7c3b063da115ccc13596d0a093533b
parent4f3b3403fbfa5323819d58dd0ece4b778ef69273
Bug 6201: Add fields 1xx to marc2bibtex (for MARC21 and NORMARC)

Modified Record::marc2bibtex to varlidate fields 100, 110 and 111 in
non-UNIMARC flavours.

Test plan:
1)Search any books in the OPAC with a main entry (1XX in MARC21, 700-720 in UNIMARC)
2)Export the record in the bibtex format
==>The output won't contain the main entry.
3)Apply the patch
4)Export the record
==>The record will contain the main entry

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixes a long standing bug.
Passes all tests and QA script.
Tested with multiple records, seems to work well.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Record.pm