[Koha-bugs] [Bug 32916] [Bug 30280 follow-up] Problems in linking authorities to biblio fields (MARC 21)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 20 16:06:52 CET 2023


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

--- Comment #6 from Frank Hansen <frank.hansen at ub.lu.se> ---
(In reply to Janusz Kaczmarek from comment #3)
> 
> I would be curious to hear the opinions of those involved in the creation of
> the bug fix 30280.

The main purpose of fix 30280 is to make Koha to distinguish authority records
for subject headings (6XX fields) based on thesaurus. The fix is ​​not made for
non-6XX fields.

However, as you mention, Koha hardcodes non-6XX fields to 'lcsh' (which is
equivalent to subject-heading-thesaurus = 'a'). This means that all authority
records must coded as lcsh. So yes, we need to do something about it. According
to https://www.loc.gov/marc/bibliographic/bdx00.html indicator 2 is undefined
for 1XX, 7XX and 8XX fields. I saw you changed it to undef which is probably
fine, unless it has other side effects.

So, we only care for thesaurus value for the 6XX fields and skip filtering on
based on thesaurus for non-6XX fields. I have chosen to make a slightly
different solution for this. In C4::Heading_search I check if indicator 2 has a
value and is not blank. If it has a value, the filtering is performed on the
thesaurus. But if it is empty, i.e. has a space, no filtering is performed. I
made a fix for that, which I also mentioned in comment 58. I provide my fix as
a comment so you can see how I made it. But it still doesn't solve the problem
with Zebra and how it filters terms on the thesaurus.

My experience was that the thesaurus filtering in Zebra did not work after all,
even though it was said to work. The same term from different thesauris were
considered duplicates. So I wonder if something is broken here?

I really have no opinion on whether our thesaurus index should be called
system-heading-thesaurus or system-heading-thesaurus-conventions. As long as it
doesn't create confusion into thinking that the system-heading-thesaurus only
contains 008/11, but also 040f.

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


More information about the Koha-bugs mailing list