Skip to content

Commit

Permalink
Fixing part of issue #988. Results were never shown in fulltext searc…
Browse files Browse the repository at this point in the history
…h. Instead a "No results were found ..." message was shown.
  • Loading branch information
sgourdas authored and mgautierfr committed Mar 21, 2024
1 parent 0a6fd10 commit a01ab01
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 a01ab01

Please sign in to comment.