Colin, thank you for your response, but it doesn't wok. And the logs do not show any error! It's a mistery... Thank you bgk
The problem is probably in the $query. The zebrasrv may be logging an error that clarifies this. A problem I've found in running this job is that the query is using an undefined attribute. Try this change in AuthoritiesMarc.pm: diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index f9bf733..32dec17 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -220,7 +220,7 @@ sub SearchAuthorities { if (@$value[$i]){ ##If mainentry search $a tag if (@$tags[$i] eq "mainmainentry") { - $attr =" \@attr 1=Heading-Main "; + $attr =" \@attr 1=Heading "; }elsif (@$tags[$i] eq "mainentry") { $attr =" \@attr 1=Heading ";
The change is present in HEAD but not in 3.0.x
Hope that helps Colin
-- Colin Campbell