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.
Created attachment 14766 [details] [review] 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.
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.
(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 ).
Comment on attachment 14766 [details] [review] 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?
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).
Hi Doug and Elaine - thx for checking!