From 5433517119f9ca1acd419efd10c3a4dac15d7419 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 12 Dec 2016 14:20:25 +0000 Subject: [PATCH] Bug 13937: (follow-up) Remove reference to sub _prefetch_records Remove reference to sub _prefetch_records It appears this sub is built into fetch and this call is a duplicate Signed-off-by: George Williams Signed-off-by: Stefan Berndtsson Signed-off-by: Martin Renvoize --- Koha/Z3950Responder/Session.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/Koha/Z3950Responder/Session.pm b/Koha/Z3950Responder/Session.pm index ec9eff3cc7..9bc7fc68d7 100644 --- a/Koha/Z3950Responder/Session.pm +++ b/Koha/Z3950Responder/Session.pm @@ -216,8 +216,6 @@ sub present_handler { return unless $self->_check_fetch( $resultset, $args, $offset, $args->{NUMBER} ); - # Ignore if request is only for one record; our own prefetching will probably do a better job. - $self->_prefetch_records( $resultset, $args, $offset, $args->{NUMBER} ) if ( $args->{NUMBER} > 1 ); } sub fetch_handler { -- 2.39.5