BUG:3072 small work-around patch to restore authorities searching
authorMason James <mason.loves.sushi@gmail.com>
Thu, 2 Apr 2009 05:01:07 +0000 (18:01 +1300)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Wed, 16 Sep 2009 21:18:48 +0000 (23:18 +0200)
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 <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
C4/AuthoritiesMarc.pm

index 21c98b2..c2f7cce 100644 (file)
@@ -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{