From ddf553ca17d46b52aa7da594ac5a269d6fc55057 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Wed, 19 Dec 2007 12:29:05 -0600 Subject: [PATCH] BugFix : authorities resultlist display was missing one item on end of list. Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/AuthoritiesMarc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm index 43c663fb55..3da0b70957 100644 --- a/C4/AuthoritiesMarc.pm +++ b/C4/AuthoritiesMarc.pm @@ -162,7 +162,7 @@ sub SearchAuthorities { } } # limit the $results_per_page to result size if it's more - $length = $numbers-1-$offset if $numbers < ($offset+$length); + $length = $numbers-$offset if $numbers < ($offset+$length); # for the requested page, replace authid by the complete record # speed improvement : avoid reading too much things my @finalresult; -- 2.39.5