mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Make the search_rendered handle multizim search.
This introduce a intermediate mustache object to store information about the request made by the user.
This commit is contained in:
@ -1611,7 +1611,7 @@ TEST_F(TaskbarlessServerTest, searchResults)
|
||||
|
||||
static std::string makeUrl(const std::string pattern, int start, size_t resultsPerPage)
|
||||
{
|
||||
std::string url = "/ROOT/search?pattern=" + pattern + "&content=zimfile";
|
||||
std::string url = "/ROOT/search?pattern=" + pattern + "&books.id=6f1d19d0-633f-087b-fb55-7ac324ff9baf";
|
||||
|
||||
if ( start >= 0 ) {
|
||||
url += "&start=" + to_string(start);
|
||||
|
Reference in New Issue
Block a user