Skip to content

Commit

Permalink
Merge pull request #1065 from sgourdas/feature/result_count
Browse files Browse the repository at this point in the history
  • Loading branch information
mgautierfr authored Mar 21, 2024
2 parents 0a6fd10 + a01ab01 commit d4aacc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/urlschemehandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ UrlSchemeHandler::handleSearchRequest(QWebEngineUrlRequestJob* request)
}
kiwix::SearchRenderer renderer(
search->getResults(start, pageLength),
search->getEstimatedMatches(),
start);
start,
search->getEstimatedMatches());
renderer.setSearchPattern(searchQuery);
renderer.setSearchBookQuery("content="+bookId.toStdString());
renderer.setProtocolPrefix("zim://");
Expand Down

0 comments on commit d4aacc4

Please sign in to comment.