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
pull/27/head
reger 9 years ago
parent 52a9040ae6
commit b4dbff6a6a

@ -9,7 +9,6 @@
"title": "Search for #[rss_query]#", "title": "Search for #[rss_query]#",
"link": "#[searchBaseURL]#?query=#[rss_queryenc]#&resource=#[resource]#&contentdom=#[contentdom]#" "link": "#[searchBaseURL]#?query=#[rss_queryenc]#&resource=#[resource]#&contentdom=#[contentdom]#"
}, },
"totalResults": "#[num-results_totalcount]#",
"startIndex": "#[num-results_offset]#", "startIndex": "#[num-results_offset]#",
"itemsPerPage": "#[num-results_itemsPerPage]#", "itemsPerPage": "#[num-results_itemsPerPage]#",
"searchTerms": "#[rss_queryenc]#", "searchTerms": "#[rss_queryenc]#",

Loading…
Cancel
Save