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:
Matthieu Gautier
2022-03-22 16:38:47 +01:00
parent 39d0a56be8
commit 077ceac5a5
4 changed files with 12 additions and 11 deletions

View File

@ -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);