[Koha-bugs] [Bug 33159] Thesaurus is not defined by second indicator for controlled fields outside of 6XX

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 8 18:53:42 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33159

--- Comment #4 from Frank Hansen <frank.hansen at ub.lu.se> ---
Nick,

I have almost the same thought. Koha hardcodes non-6XX fields to use LCSH (in
C4/Header/MARC21.pm). But actually, Thesaurus searches are only relevant for
6XX fields. So I would like to limit thesaurus searches to be done on 6XX
fields only. In addition to this, we get problems if thesaurus searches are
performed, because our non-6XX authority records that arrives from Libris
(Royal Library of Sweden) are coded as "|" (No attempt to code) in 008/11,
which means that e.g. personal names cannot be linked unless they are lcsh. So
therefore have made the following change:

-    if ( $thesaurus ) {
+    if ( $thesaurus && $self->{field}->{_tag} =~ m/6../ ) {

It would work for us. But I don't know if it has other consequences.

Regards,
Frank Hansen

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list