From 2a1501f539bbf525c0b830cedfce3d6177bd5a2f Mon Sep 17 00:00:00 2001 From: Mason James Date: Thu, 2 Apr 2009 18:01:07 +1300 Subject: [PATCH] BUG:3072 small work-around patch to restore authorities searching this is a work-around fix, until a future patch arrives to define the missing 'Heading-Main' zebra-index. for 3.0.x [RM note: also included in HEAD so that I can include the UNIMARC(A) updates by HDL] Signed-off-by: Galen Charlton --- C4/AuthoritiesMarc.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 881f0d1780..5d2d5a817e 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -223,7 +223,11 @@ sub SearchAuthorities { if (@$value[$i]){ ##If mainentry search $a tag if (@$tags[$i] eq "mainmainentry") { - $attr =" \@attr 1=Heading-Main "; + +# FIXME: 'Heading-Main' index not yet defined in zebra +# $attr =" \@attr 1=Heading-Main "; + $attr =" \@attr 1=Heading "; + }elsif (@$tags[$i] eq "mainentry") { $attr =" \@attr 1=Heading "; }else{ -- 2.39.2