From 6641e05c40f36de55c7bfb425beb6e6885cc70fa Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 24 Jul 2013 13:18:06 +0200 Subject: [PATCH] Bug 10462: QA Followup for LCCN in Breeding.pm Content-Type: text/plain; charset=utf-8 Subroutine for Z3950 search in C4/Breeding.pmxxx interpreted LCCN as LC call number (tag 050), but should be control number (tag 010). Test plan: Check LCCN output on z3950_search.pl results table with and without patch. Search e.g. on ISBN 9780415964845. Signed-off-by: Marcel de Rooy --- C4/Breeding.pm | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/C4/Breeding.pm b/C4/Breeding.pm index b24b0c7..3f80c3e 100644 --- a/C4/Breeding.pm +++ b/C4/Breeding.pm @@ -429,7 +429,8 @@ sub _add_rowdata { $rowref->{author}= $marcrecord->subfield('100','a')||''; $rowref->{date}= $marcrecord->subfield('260','c')||''; $rowref->{edition}= $marcrecord->subfield('250','a')||''; - $rowref->{lccn}= $marcrecord->subfield('050','a')||''; + $rowref->{lccn}= $marcrecord->subfield('010','a')||''; + #LC control number, not call number! } else { #UNIMARC $rowref->{isbn}= _isbn_show($marcrecord, '010'); -- 1.7.7.6