diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index 068356a700..caecc63a11 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -613,7 +613,8 @@ sub items { my $items_rs = $self->_result->items; - return Koha::Items->_new_from_dbic( $items_rs ) unless $params->{host_items}; + return Koha::Items->_new_from_dbic($items_rs) + unless $params->{host_items} && C4::Context->preference('EasyAnalyticalRecords'); my @itemnumbers = $items_rs->get_column('itemnumber')->all; my $host_itemnumbers = $self->_host_itemnumbers();