[Koha-devel] FW: zebra / Heading-Main

Marcel de Rooy M.de.Rooy at rijksmuseum.nl
Thu Feb 17 15:39:04 CET 2011


Only in authorities..

Van: koha-devel-bounces at lists.koha-community.org [mailto:koha-devel-bounces at lists.koha-community.org] Namens Marcel de Rooy
Verzonden: donderdag 17 februari 2011 15:25
Aan: koha-devel at lists.koha-community.org
Onderwerp: [Koha-devel] zebra / Heading-Main

Hi,

Some time ago Heading-Main was introduced in both authorities and biblios record.abs in marc_defs/marc21 and marc_defs/unimarc.
Apparently, it was added to extend authority search with the option to search only in 100a, 110a, .. fields.
But Heading-Main is not listed in one the attsets (bib1,..)

This gives the warning: zebraidx(18056) [warn] Index 'Heading-Main' not found in attset(s)

This bug was reported March 2009 (!) under:  http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3072
Related reports are: 3052, 3386 and 3429.
We still have the following temporary fix in AuthoritiesMarc.pm :
            ##If mainentry search $a tag
                if (@$tags[$i] eq "mainmainentry") {

# FIXME: 'Heading-Main' index not yet defined in zebra
#                $attr =" \@attr 1=Heading-Main ";
                $attr =" \@attr 1=Heading ";


Would anyone of you object against defining a new 8XXX field in authorities bib1.att to activate Heading-Main and at the same time fixing AuthoritiesMarc.pm ?
We now have there:

att 8001    Heading
att 8002    See-from
att 8003    See-also-from
att 8804    Match-heading
att 8805    Match-subdivision
att 8806    Subdivision
att 8807    Subdivision-see-also-from
att 8808    Subdivision-see-from
att 8809    Match-heading-see-from
att 8810    Match-subdivision-see-from

BTW, an interesting way of incrementing from 8001 to 8810? We could add 8004 for Heading-Main ? Better idea?

Regards,

Marcel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20110217/8058774a/attachment-0001.htm>


More information about the Koha-devel mailing list