(bug #4062) add item index in zebra conf
[koha.git] / labels / pcard-member-search.pl
index 1ff5cf1..3842bd0 100755 (executable)
@@ -141,7 +141,7 @@ my $base_url =
 
 $template->param(
     paginationbar => pagination_bar(
-        $base_url,  int( $count / $resultsperpage ) + 1,
+        $base_url,  int( ($count - 1) / $resultsperpage ) + 1,
         $startfrom, 'startfrom'
     ),
     startfrom => $startfrom,