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>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
This commit is contained in:
Mason James 2009-04-02 18:01:07 +13:00 committed by Henri-Damien LAURENT
parent 49a75f4d4f
commit afa9cbae37
1 changed files with 5 additions and 1 deletions

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