diff --git a/basket/basket.pl b/basket/basket.pl index edfd9df889..4220f0a629 100755 --- a/basket/basket.pl +++ b/basket/basket.pl @@ -64,7 +64,7 @@ foreach my $biblionumber ( @bibs ) { $template->param( biblionumber => $biblionumber ); my $biblio = Koha::Biblios->find( $biblionumber ) or next; - my $dat = $biblio->unblessed; + my $dat = { %{$biblio->unblessed}, %{$biblio->biblioitem->unblessed} }; my $record = $biblio->metadata->record; my $marcnotesarray = $biblio->get_marc_notes; my $marcauthorsarray = $biblio->get_marc_contributors; diff --git a/opac/opac-basket.pl b/opac/opac-basket.pl index 7c57867438..e4ed044a85 100755 --- a/opac/opac-basket.pl +++ b/opac/opac-basket.pl @@ -71,7 +71,7 @@ foreach my $biblionumber ( @bibs ) { $template->param( biblionumber => $biblionumber ); my $biblio = Koha::Biblios->find( $biblionumber ) or next; - my $dat = $biblio->unblessed; + my $dat = { %{$biblio->unblessed}, %{$biblio->biblioitem->unblessed} }; # No filtering on the item records needed for the record itself # since the only reason item information is grabbed is because of branchcodes.