From: Tomas Cohen Arazi Date: Mon, 22 Apr 2019 13:20:17 +0000 (-0300) Subject: Bug 22696: Prefetch items too X-Git-Url: http://git.equinoxoli.org/?p=koha-equinox.git;a=commitdiff_plain;h=097a6af3b03a90af8c42a4ea8139edca8c9eb616 Bug 22696: Prefetch items too Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens --- diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl index 4ae6882..e4a0b3f 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;