From 2957d5bca260681e92ee169031ae85f03378bb9b Mon Sep 17 00:00:00 2001 From: Thibaud Guillot Date: Fri, 31 Dec 2021 09:12:22 +0100 Subject: [PATCH] Bug 26537 : (follow-up) fix paging of results --- cataloguing/value_builder/unimarc_field_4XX.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/value_builder/unimarc_field_4XX.pl b/cataloguing/value_builder/unimarc_field_4XX.pl index 8e80c64fe4..a284e45f2f 100755 --- a/cataloguing/value_builder/unimarc_field_4XX.pl +++ b/cataloguing/value_builder/unimarc_field_4XX.pl @@ -441,7 +441,7 @@ sub plugin { if ( $total_hits < $from + $resultsperpage ) { $to = $total_hits; }else{ - $to = $startfrom * $resultsperpage + $resultsperpage ; + $to = $from * $resultsperpage ; } my $defaultview = 'BiblioDefaultView' . C4::Context->preference('BiblioDefaultView'); -- 2.25.1