summaryrefslogtreecommitdiff
path: root/htroot/yacysearch.html
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2016-12-20 14:52:33 +0100
committerluccioman <luccioman@users.noreply.github.com>2016-12-20 14:52:33 +0100
commitc25e48e969f180dcc3c73863acbfcc383a182c8f (patch)
tree9ca47859b223d33cf1f471932d5246affd432614 /htroot/yacysearch.html
parenta3886c6adb771d1d2b8ed4a07aeb5f4d249c8c52 (diff)
Enabled displaying results after 14th page for local search queries.
Fixes issue #90 for local queries only: Stealth mode, Portal mode or Intranet mode. For P2p mode, the issue would probably be difficult to solve with reasonable performance. This is still to dig. Also switched some InterreputedException catch log messages to warn level as this is normal behavior when shutting down a peer. Fixed yacysearch buttons navbar behavior to deal correctly with total results count or offset over 1000. Also improved the buttons navbar to be able to navigate over 10th page for local queries.
Diffstat (limited to 'htroot/yacysearch.html')
-rw-r--r--htroot/yacysearch.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/htroot/yacysearch.html b/htroot/yacysearch.html
index 180a7f01f..a7f2aa476 100644
--- a/htroot/yacysearch.html
+++ b/htroot/yacysearch.html
@@ -222,7 +222,8 @@ function latestinfo() {
self.xmlHttpReq.onreadystatechange = function() {
if (self.xmlHttpReq.readyState == 4) {
var rsp = eval("(" + self.xmlHttpReq.responseText + ")");
- statistics(rsp.offset, rsp.itemscount, rsp.itemsperpage, rsp.totalcount, rsp.localResourceSize, rsp.remoteResourceSize, rsp.remoteIndexCount, rsp.remotePeerCount, rsp.navurlBase);
+
+ statistics(rsp.offset, rsp.itemscount, rsp.itemsperpage, rsp.totalcount, rsp.localResourceSize, rsp.remoteResourceSize, rsp.remoteIndexCount, rsp.remotePeerCount, rsp.navurlBase, #[localQuery]#);
}
};
self.xmlHttpReq.send(null);