[Koha-bugs] [Bug 33277] Correctly handle linking subfields with no defined thesaurus

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 22 13:39:00 CET 2023


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #148492|0                           |1
        is obsolete|                            |
 Attachment #148493|0                           |1
        is obsolete|                            |
 Attachment #148494|0                           |1
        is obsolete|                            |
 Attachment #148495|0                           |1
        is obsolete|                            |
 Attachment #148500|0                           |1
        is obsolete|                            |

--- Comment #17 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 148527
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148527&action=edit
Bug 33277: Do not search using thesaurus when linking non 6XX fields

This patch sets thesaurus as undefined when linking any field except 6XX

This fixes the case where authrotiy records don't have the thesaurus defined

Consequently - this means that Koha does not support multiple thesaurus records
for authorities outside of subjects

i.e. Using the default linker, and having both an LCSH and Sears record for
'Shakespeare,William'
A 100 entry will find two results and the heading won't be linked. Previously
we always linked to the LCSH

To test:
1 - Import the attached auths and biblio (from bug 33159 comment 24)
2 - Set system preferences:
    RequireChoosingExistingAuthority - don't require
    AutoCreateAuthorities - don't generate
    CatalogModuleRelink - Do
    LinkerKeepStale - Don't
    LinkerModule - default
    LinkerRelink - do
3 - Edit the imported bib
4 - Save it
5 - Headings are not linked except 600
6 - Apply patch
7 - Restart all
8 - Edit and save record
9 - Headings are successfully linked

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


More information about the Koha-bugs mailing list