[Koha] Linking biblios to authorities
Bernardo Gonzalez Kriegel
gonzalez at famaf.unc.edu.ar
Wed Apr 15 00:53:33 NZST 2009
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20090414/5c3fedff/attachment.htm
More information about the Koha
mailing list