]> git.koha-community.org Git - koha.git/commit
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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 2 Dec 2013 18:07:11 +0000 (15:07 -0300)
commit4971accb199f9a2f567d0d36e86b6eadcc724212
treed861effd371a30e1eb4168926d673035356ced85
parentccab3f04c3c128d0e94d6cf20bc0c383168d9c5a
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>
(cherry picked from commit 41ae12b561ea08817cb6753680a8ce2950a39fcc)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Record.pm