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 <galen.charlton@liblime.com>
This commit is contained in:
Mason James 2009-04-02 18:01:07 +13:00 committed by Galen Charlton
parent 9f1b24c964
commit 2a1501f539
1 changed files with 5 additions and 1 deletions

View File

@ -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{