Bug 27266: (follow-up) Using biblio frameworkcode to get rid of FIXME

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Aleisha Amohia 2021-07-23 08:29:46 +12:00 committed by Fridolin Somers
parent 241cbea691
commit dfed3e842f

View file

@ -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..';