[Bug 9361] New: MARC 610 and 611 fields in bulk imports are not indexed
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9361 Bug ID: 9361 Summary: MARC 610 and 611 fields in bulk imports are not indexed Classification: Unclassified Change sponsored?: --- Product: Koha Version: 3.10 Hardware: All OS: All Status: NEW Severity: normal Priority: P4 Component: MARC Authority data support Assignee: gmcharlt@gmail.com Reporter: dpk@randomnotes.org See in 3.10.0, but may effect earlier versions as well. Import a bunch of records with 610 and 611 fields (as well as 650) (also 100, 110 and 111). Import, rebuild zebra index and then link_bibs_to_authorities. 610 and 611 entries do not get link to the appropriate authorities. The problem appears to be due to this commented code in lib/C4/Koha.pm: sub getFacets { my $facets; if ( C4::Context->preference("marcflavour") eq "UNIMARC" ) { $facets = [ ... } else { $facets = [ { idx => 'su-to', label => 'Topics', tags => [ qw/ 650a / ], sep => '--', }, # { # idx => 'su-na', # label => 'People and Organizations', # tags => [ qw/ 600a 610a 611a / ], # sep => 'a', # }, { idx => 'su-geo', label => 'Places', tags => [ qw/ 651a / ], sep => '--', }, { idx => 'su-ut', label => 'Titles', tags => [ qw/ 630a / ], sep => '--', }, Uncommenting the lines above for idx => 'su-na', followed by a rebuild of the zebra indexes (-v -b -a) and a link_bibs_to_authorities and 610s and 611s are now linked. Why was this stanza commented out? This appears to be empirically wrong. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9361 Doug Kingston <dpk@randomnotes.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|MARC 610 and 611 fields in |MARC 610 and 611 fields in |bulk imports are not |bulk imports are not linked |indexed |to authorities -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9361 Doug Kingston <dpk@randomnotes.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eb@efdss.org -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9361 --- Comment #1 from Doug Kingston <dpk@randomnotes.org> --- Created attachment 14766 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14766&action=edit Patch to fix linking of 610a and 611a I can confirm that with this patch applied, link_bibs_to_authorities.pl works as expect on these records. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9361 --- Comment #2 from Doug Kingston <dpk@randomnotes.org> --- Ping for update on this patch. Galen, what do we need to get this in the next relase. I have been running with this patch applied since January. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9361 Doug Kingston <dpk@randomnotes.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dpk@randomnotes.org -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9361 --- Comment #3 from Jared Camins-Esakov <jcamins@cpbibliography.com> --- (In reply to comment #0)
See in 3.10.0, but may effect earlier versions as well.
Import a bunch of records with 610 and 611 fields (as well as 650) (also 100, 110 and 111). Import, rebuild zebra index and then link_bibs_to_authorities. 610 and 611 entries do not get link to the appropriate authorities.
The problem appears to be due to this commented code in lib/C4/Koha.pm:
link_bibs_to_authorities does not have anything to do with facets. I'm not sure why changing this file should make a difference. In order to get this into 3.12, we'll need to confirm this is a problem on master (I don't encounter it), and then get a git patch signed off and QAed. If you have a spare test server, you can confirm the problem and the solution by installing 3.12-beta1 on it, and, if the problem still exists, attach a git patch making the changes (git is easy; see http://wiki.koha-community.org/wiki/Version_Control_Using_Git ). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9361 Denise <d.gavio@aarome.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |d.gavio@aarome.org -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9361 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #14766|0 |1 is obsolete| | CC| |katrin.fischer@bsz-bw.de --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Comment on attachment 14766 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14766 Patch to fix linking of 610a and 611a I have to agree with Jared - the code change in the patch will add a new facet named "People and Organisations", but won't influence authority linking. Marking the patch obsolete. Does the problem still appear in current versions of Koha? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9361 Doug Kingston <dpk@randomnotes.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #5 from Doug Kingston <dpk@randomnotes.org> --- I am happy to report that this issue appears to be resolved in current versions of Koha from test that Elaine just ran. I will mark this WORKSFORME (now). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9361 --- Comment #6 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hi Doug and Elaine - thx for checking! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org