Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix yacysearch.json "totalResults" element "totalResults" is included twice (at begin & end), only the element after performing the search holds number > 0 see http://mantis.tokeek.de/view.php?id=608

regerb4dbff6a6ae6
diff --git a/htroot/yacysearch.json b/htroot/yacysearch.json
index 52653f01a..a11bcbee0 100644
--- a/htroot/yacysearch.json
+++ b/htroot/yacysearch.json
@@ -9,7 +9,6 @@
"title": "Search for #[rss_query]#",
"link": "#[searchBaseURL]#?query=#[rss_queryenc]#&resource=#[resource]#&contentdom=#[contentdom]#"
},
- "totalResults": "#[num-results_totalcount]#",
"startIndex": "#[num-results_offset]#",
"itemsPerPage": "#[num-results_itemsPerPage]#",
"searchTerms": "#[rss_queryenc]#",