mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 03:26:05 -04:00
Use count = -1 for displaying all books
This changes count from 0 to -1 due to recent changes in libkiwix.
This commit is contained in:
parent
4de240fc5e
commit
93310c65b2
@ -15,7 +15,7 @@ void OpdsRequestManager::doUpdate(const QString& currentLanguage, const QString&
|
|||||||
if (currentLanguage != "*") {
|
if (currentLanguage != "*") {
|
||||||
query.addQueryItem("lang", currentLanguage);
|
query.addQueryItem("lang", currentLanguage);
|
||||||
}
|
}
|
||||||
query.addQueryItem("count", QString::number(0));
|
query.addQueryItem("count", QString::number(-1));
|
||||||
if (categoryFilter != "all" && categoryFilter != "other") {
|
if (categoryFilter != "all" && categoryFilter != "other") {
|
||||||
query.addQueryItem("tag", "_category:"+categoryFilter);
|
query.addQueryItem("tag", "_category:"+categoryFilter);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user