Bug 10462: QA Followup to resolve LCCN mixup and remove hardcoded marc tags
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 24 Jul 2013 14:14:46 +0000 (16:14 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 24 Jul 2013 16:33:00 +0000 (16:33 +0000)
commit4bf04e423936367a488fbb7a5e9c1c763d46d073
tree2c2ddcc2167a849e91836fd8fca9d59dc14df651
parent7e83c7ea3857a7dcca5ae610d63382c2674a1846
Bug 10462: QA Followup to resolve LCCN mixup and remove hardcoded marc tags

This patch corrects the mixup for LC call number and control number.

Further, as suggested by Galen, it would be better to not introduce hardcoded
tags in the Z3950Search subs in Breeding.pm.
This patch resolves that by calling TransformMarcToKohaOneField.
Note that this only involves changes to _addrowdata and _isbn_show. These
subs are only used in building the displayed results table.

Additionally, for French UNIMARC installs publicationyear is used to fill
the Date column (copyrightdate is not used in those installs). The edition
statement is only used in unimarc_lecture_pub not in unimarc_complet.

Test plan:
Do some Z3950 searches and look for values in all result columns.
For MARC21 on LOC (and/or others):
  Look for isbn 9780415964845 (check LCCN).
  Look for author Rowling.
For UNIMARC on BNF2 (and/or others):
  On BNF2 look for isbn 2070518426: result contains date and multiple isbn's.
  Look for title: Guide des candidats aux emplois de commissaire de police.
  Third result show edition statement (if you use 205$a with pub install).
  Note that there are no results with LCCN here (just as before).

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested for MARC21 and UNIMARC (French lecture_pub install).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Breeding.pm