Bug 6108 - Quicksearch in member.pl does not display paging correctly
authorStéphane Delaune <stephane.delaune@biblibre.com>
Fri, 8 Apr 2011 13:07:08 +0000 (15:07 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 8 Apr 2011 22:47:22 +0000 (10:47 +1200)
Signed-off-by: Stéphane Delaune <stephane.delaune@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
members/member.pl

index f66b851..2be45bc 100755 (executable)
@@ -165,7 +165,7 @@ $template->param(
     startfrom => $startfrom,
     from      => ($startfrom-1)*$resultsperpage+1,  
     to        => $to,
-    multipage => ($count != $to+1 || $startfrom!=1),
+    multipage => ($count != $to || $startfrom!=1),
     advsearch => ($$patron{categorycode} || $$patron{branchcode}),
     branchloop=>\@branchloop,
     categories=>\@categories,