[Koha-bugs] [Bug 29191] New: Linking biblio headings to authorities doesn't work with subdivisoins

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 7 16:09:33 CEST 2021


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

            Bug ID: 29191
           Summary: Linking biblio headings to authorities doesn't work
                    with subdivisoins
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: alex.arnaud at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

Linking biblio headings to authorities fails if there is subdivision(s) to
search.

Test plan (Unimarc example):
  - AutoCreateAuthorities On
  - BiblioAddsAuthorities On
  - add a subject in a biblio: 606 $aArt $xHistory
  => new authority is created
  - reindex authorities if Zebra search engine
  - add same subject in an other biblio: 606 $aArt $xHistory
  => again, a new authority is created

Heading helper adds the subdiviion name in the search term. So the entire
search query for mathing authorities is "Art generalsubdiv History"

I'm looking for a fix, but i need someone to explain me why we add something
which is similar to metada in the search term.

This is done both for MARC21 and UNIMARC in
C4::Heading::UNIMARC::_get_search_heading
and
C4::Heading::MARC21::_get_search_heading

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


More information about the Koha-bugs mailing list