From afa9cbae371758d4e224186e33bb09392c07a785 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 Signed-off-by: Henri-Damien LAURENT --- C4/AuthoritiesMarc.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 21c98b2330..c2f7cce77f 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -220,7 +220,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.5