From 097a6af3b03a90af8c42a4ea8139edca8c9eb616 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 Signed-off-by: Nick Clemens --- 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 4ae688203b..e4a0b3fcad 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.39.5