Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Revert "fix for page navigation: show only as much pages as are available for given navigation constraints, not as given by total results size"
Michael Peter Christen6e51a00a2f68
diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.jsindex 9b93d5536..0e71bacf3 100644--- a/htroot/js/yacysearch.js+++ b/htroot/js/yacysearch.js@@ -93,7 +93,7 @@ function statistics(offset, itemscount, itemsperpage, totalcount, localResourceSresnav += ("\"><img src=\"env/grafics/navdl.gif\" alt=\"arrowleft\" width=\"16\" height=\"16\" /></a> ");}- 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) {