mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
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
This commit is contained in:
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…
Reference in New Issue
Block a user