From 8191da5505ab43b1f023ff4c95b714deacaf7f9a 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 Signed-off-by: Martin Renvoize --- 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.20.1