[Koha-bugs] [Bug 30218] New: Add subfield g to 150 heading_fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 3 15:38:34 CET 2022


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

            Bug ID: 30218
           Summary: Add subfield g to 150 heading_fields
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: MARC Authority data support
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: domm at plix.at
        QA Contact: testopia at bugs.koha-community.org

When creating authorities via SRU or linking exising authorities (via
cgi-bin/koha/authorities/auth_finder.pl) the search results are generated using
the hardcoded mappings $bib_heading_fields / $auth_heading_field from
C4::Heading::MARC21. For TOPIC_TERM / field 150 these mappings currently
include the subfield `abvxyz68`.

But: We are using the GND provided by Deutsche Nationalbibliothek. We imported
some authorities from there, for example:

http://d-nb.info/gnd/4114171-4 "Kind <0-3 Jahre>" (kid 0-3 years)
http://d-nb.info/gnd/4196417-2 "Kind <0-4 Jahre>" (kid 0-4 years)

When searching for these terms, Koha only displays "Kind", which is not very
helpful, as there are a lot of different authorities for different age bands.

GND stores "Kind" in 150a, and "0-3 Jahre" in 150g.

But in the hardcoded mappings used by Koha, subfield g is not included.

This patch adds subfield g to these mappings, thus making it possible to easily
select the correct authority.

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


More information about the Koha-bugs mailing list