[Koha-bugs] [Bug 9361] New: MARC 610 and 611 fields in bulk imports are not indexed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 8 08:36:07 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9361

            Bug ID: 9361
           Summary: MARC 610 and 611 fields in bulk imports are not
                    indexed
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: 3.10
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: MARC Authority data support
          Assignee: gmcharlt at gmail.com
          Reporter: dpk at randomnotes.org

See in 3.10.0, but may effect earlier versions as well.

Import a bunch of records with 610 and 611 fields (as well as 650)
(also 100, 110 and 111).
Import, rebuild zebra index and then link_bibs_to_authorities.
610 and 611 entries do not get link to the appropriate authorities.

The problem appears to be due to this commented code in lib/C4/Koha.pm:

sub getFacets {
    my $facets;
    if ( C4::Context->preference("marcflavour") eq "UNIMARC" ) {
        $facets = [
        ...
    }
    else {
        $facets = [
            {
                idx   => 'su-to',
                label => 'Topics',
                tags  => [ qw/ 650a / ],
                sep   => '--',
            },
            #        {
            #        idx   => 'su-na',
            #        label => 'People and Organizations',
            #        tags  => [ qw/ 600a 610a 611a / ],
            #        sep   => 'a',
            #        },
            {
                idx   => 'su-geo',
                label => 'Places',
                tags  => [ qw/ 651a / ],
                sep   => '--',
            },
            {
                idx   => 'su-ut',
                label => 'Titles',
                tags  => [ qw/ 630a / ],
                sep   => '--',
            },

Uncommenting the lines above for idx  => 'su-na', followed by a rebuild of the
zebra indexes (-v -b -a) and a link_bibs_to_authorities and 610s and 611s are
now linked.

Why was this stanza commented out?  This appears to be empirically wrong.

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


More information about the Koha-bugs mailing list