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

--- Comment #2 from Janusz Kaczmarek <[email protected]> ---
This happens when thesaurus in bibliographic field 6XX is defined by subfield
$2. In such a case the authority record should have 008/11 = 'z' and, according
to https://www.loc.gov/marc/authority/ad008.html (cf. comment for 008/11 = 'z':
"A MARC code for the conventions used to formulate the heading *may* be
contained in subfield $f"), may or may have thesaurus declared in 040 $f. 

This is why we make a second search attempt in C4::Heading::_search, but doing
so we have to make sure that the resulting authority record has not a different
thesaurus declared in 040 $f. (Note that 008/11 and 040 $f are indexed with 
the same search field: subject-heading-thesaurus. So we search for the second
time in the same search field but with 'notdefined' == 008/11='z' instead of
the original thesaurus taken from subfield $2 of the bibliographic field 6XX.)
This means we have to explicitly check the content of 040 $f of the resulting
authority record.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to