From dfed3e842fe5985b221ca4fae767665ed691c32b 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 Signed-off-by: David Nind Signed-off-by: Marcel de Rooy Signed-off-by: Fridolin Somers --- Koha/Biblio.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index ef0e767a50..a259db4bb7 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -984,8 +984,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.39.5