Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix in result count display
orbiter30d340563e0f
diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.jsindex a887bc04d..270f387f8 100644--- a/htroot/js/yacysearch.js+++ b/htroot/js/yacysearch.js@@ -71,15 +71,18 @@ function addHover() {}function statistics(offset, itemscount, itemsperpage, totalcount, localResourceSize, remoteResourceSize, remoteIndexCount, remotePeerCount, navurlbase) {+ if (totalcount == 0) return;if (offset >= 0) document.getElementById("resultsOffset").firstChild.nodeValue = offset;- if (itemscount == 0) return;- document.getElementById("itemscount").firstChild.nodeValue = itemscount;+ if (itemscount >= 0) document.getElementById("itemscount").firstChild.nodeValue = itemscount;document.getElementById("totalcount").firstChild.nodeValue = totalcount;if (document.getElementById("localResourceSize") == null) return;document.getElementById("localResourceSize").firstChild.nodeValue = localResourceSize;document.getElementById("remoteResourceSize").firstChild.nodeValue = remoteResourceSize;document.getElementById("remoteIndexCount").firstChild.nodeValue = remoteIndexCount;document.getElementById("remotePeerCount").firstChild.nodeValue = remotePeerCount;++ var resNav = document.getElementById("resNav");+ resNav.firstChild.nodeValue = "X";// compose page navigationresnav = "";@@ -117,5 +120,6 @@ function statistics(offset, itemscount, itemsperpage, totalcount, localResourceSresnav += (navurlbase + "&startRecord=" + ((thispage + 1) * itemsperpage));resnav += ("\"><img src=\"env/grafics/navdr.gif\" alt=\"arrowright\" width=\"16\" height=\"16\" /></a>");}- document.getElementById("resNav").firstChild.nodeValue = resnav;++ //document.getElementById("resNav").firstChild.nodeValue = resnav;}