Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fixed api table navigation
Michael Peter Christen6fbca3521512
diff --git a/htroot/Table_API_p.java b/htroot/Table_API_p.javaindex 9b787e72b..1b8d86369 100644--- a/htroot/Table_API_p.java+++ b/htroot/Table_API_p.java@@ -341,7 +341,7 @@ public class Table_API_p {prop.put("showtable_inline", (inline) ? 1 : 0);prop.put("showtable_filter", typefilter.pattern());prop.put("showtable_query", query.pattern().replaceAll("\\.\\*", ""));- if (tablesize >= 50) {+ if (tablesize >= maximumRecords) {prop.put("showtable_navigation", 1);prop.put("showtable_navigation_startRecord", startRecord);prop.put("showtable_navigation_to", Math.min(tablesize, startRecord + maximumRecords));