From 4291cd78d0f79ac64b702371174464890ba5f670 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Fri, 23 Jul 2021 08:29:46 +1200 Subject: [PATCH] Bug 27266: (follow-up) Using biblio frameworkcode to get rid of FIXME --- Koha/Biblio.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index ec4e2b6ba9..1e7a6f3c63 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -870,8 +870,7 @@ sub get_marc_authors { # 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 }); + $tagslib = C4::Biblio::GetMarcStructure( 1, $self->frameworkcode, { unsafe => 1 }); $mintag = "700"; $maxtag = "712"; $fields_filter = '7..'; -- 2.11.0