From: Marcel de Rooy Date: Fri, 13 Jan 2017 10:27:08 +0000 (+0100) Subject: Bug 17196: [QA Follow-up] Additional fix on acqui/basketgroup X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=2bf3ce268de6bc8b2386cfb5d768f60b05d75f44;p=koha.git Bug 17196: [QA Follow-up] Additional fix on acqui/basketgroup acqui/basketgroup calls GetOrders and expects marcxml in the results. Fixing it by an additional call of GetXmlBiblio. Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall --- diff --git a/acqui/basketgroup.pl b/acqui/basketgroup.pl index bd4c6bf937..9ca84e9a35 100755 --- a/acqui/basketgroup.pl +++ b/acqui/basketgroup.pl @@ -183,6 +183,7 @@ sub printbasketgrouppdf{ # Editor Number my $en; my $edition; + my $ord->{marcxml} = C4::Biblio::GetXmlBiblio( $ord->{biblionumber} ); my $marcrecord=eval{MARC::Record::new_from_xml( $ord->{marcxml},'UTF-8' )}; if ($marcrecord){ if ( C4::Context->preference("marcflavour") eq 'UNIMARC' ) {