[Koha-bugs] [Bug 27266] Move C4::Biblio::GetMarcAuthors to Koha namespace

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 22 10:00:16 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27266

--- Comment #17 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Comment on attachment 123026
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123026
Bug 27266: Move GetMarcAuthors to Koha namespace

Review of attachment 123026:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=27266&attachment=123026)
-----------------------------------------------------------------

::: Koha/Biblio.pm
@@ +870,5 @@
> +    # tagslib useful only for UNIMARC author responsibilities
> +    my $tagslib;
> +    if ( $marcflavour eq "UNIMARC" ) {
> +        # FIXME : we don't have the framework available, we take the default framework. May be buggy on some setups, will be usually correct.
> +        $tagslib = C4::Biblio::GetMarcStructure( 1, '', { unsafe => 1 });

I wonder if we aught to fix the FIXME here?

$tagslib = C4::Biblio::GetMarcStructure( 1, $self->frameworkcode, { unsafe => 1
});

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list