[Koha-patches] [PATCH] Revisions to auto-generated authorities patch

Galen Charlton galen.charlton at liblime.com
Tue Apr 28 01:22:56 CEST 2009


Hi Brian,

There are a couple problems with this latest patch - it doesn't apply
cleanly against HEAD for me.  Also:

On Mon, Apr 27, 2009 at 4:53 PM, Brian Harrington <brian at jhu.edu> wrote:
>          my $marcrecordauth=MARC::Record->new();
> +               if (C4::Context->preference('marcflavour') eq 'MARC21') {
> +                       $marcrecordauth->leader('     nz  a22     o  4500');
> +                       SetMarcUnicodeFlag($marcrecordauth, 'MARC21');
> +                       }

SetMarcUnicodeFlag() needs to be run for both MARC21 and UNIMARC, so
it should be taken out of the conditional block.  Also, the UTF-8 flag
is UNIMARC records isn't the Leader/09, it's positions 26-29 of the
100 $a.

Regards,

Galen
-- 
Galen Charlton
VP, Research & Development, LibLime
galen.charlton at liblime.com
p: 1-888-564-2457 x709
skype: gmcharlt



More information about the Koha-patches mailing list