Only in authorities.. Van: koha-devel-boun...@lists.koha-community.org [mailto:koha-devel-boun...@lists.koha-community.org] Namens Marcel de Rooy Verzonden: donderdag 17 februari 2011 15:25 Aan: koha-devel@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
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/