From 70796ececff6b192ed91a6a545f365d371d26544 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 22 Apr 2019 10:20:17 -0300 Subject: [PATCH] Bug 22696: Prefetch items too Signed-off-by: Tomas Cohen Arazi --- opac/opac-ISBDdetail.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl index f4868e099a..9dc0513752 100755 --- a/opac/opac-ISBDdetail.pl +++ b/opac/opac-ISBDdetail.pl @@ -77,7 +77,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( ); -my $biblio = Koha::Biblios->find( $biblionumber, { prefetch => 'metadata' } ); +my $biblio = Koha::Biblios->find( $biblionumber, { prefetch => [ 'metadata', 'items' ] } ); my $patron = Koha::Patrons->find($loggedinuser); my $opachiddenitems_rules; -- 2.21.0