From 30c2f50e0bd3dcf7fdc483bb276034ffcf5ada71 Mon Sep 17 00:00:00 2001 From: luccioman Date: Thu, 31 Aug 2017 07:37:24 +0200 Subject: [PATCH] Use final results counts in progress bar detailed statistics. Using unfiltered detailed counts (local and remote entries found before doubles detection and before applying query modifiers) was confusing and inconsistent with the total count. It could let think more results are to come in the next pages, without understanding why they are not displayed. --- htroot/js/yacysearch.js | 52 +++++++++++++++++++++++--------- htroot/yacysearch.html | 5 +-- htroot/yacysearch.java | 2 +- htroot/yacysearchitem.html | 2 +- htroot/yacysearchitem.java | 3 +- htroot/yacysearchlatestinfo.java | 2 ++ htroot/yacysearchlatestinfo.json | 1 + locales/cn.lng | 7 ++--- locales/de.lng | 7 ++--- locales/fr.lng | 7 ++--- locales/ja.lng | 7 ++--- locales/master.lng.xlf | 9 ++---- locales/ru.lng | 7 ++--- locales/uk.lng | 7 ++--- 14 files changed, 68 insertions(+), 50 deletions(-) diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.js index d499d1213..8ae63aa59 100644 --- a/htroot/js/yacysearch.js +++ b/htroot/js/yacysearch.js @@ -44,7 +44,7 @@ function fadeOutBar() { /** * @returns pagination buttons */ -function renderPaginationButtons(offset, itemscount, itemsperpage, totalcount, localResourceSize, remoteResourceSize, remoteIndexCount, remotePeerCount, navurlbase, localQuery) { +function renderPaginationButtons(offset, itemsperpage, totalcount, navurlbase, localQuery) { var resnav = "