Revert "fix for page navigation: show only as much pages as are available for given navigation constraints, not as given by total results size"

This reverts commit 73f5a9e8b3.
pull/1/head
Michael Peter Christen 13 years ago
parent 73f5a9e8b3
commit 6e51a00a2f

@ -93,7 +93,7 @@ function statistics(offset, itemscount, itemsperpage, totalcount, localResourceS
resnav += ("\"><img src=\"env/grafics/navdl.gif\" alt=\"arrowleft\" width=\"16\" height=\"16\" /></a>&nbsp;");
}
numberofpages = Math.min(10, 1 + ((itemscount - 1) / itemsperpage));
numberofpages = Math.min(10, 1 + ((totalcount - 1) / itemsperpage));
if (!numberofpages) numberofpages = 10;
for (i = 0; i < numberofpages; i++) {
if (i == thispage) {

Loading…
Cancel
Save