mirror of https://github.com/kiwix/libkiwix.git
Fix opds filtering by tag.
This commit is contained in:
parent
7e26f3502d
commit
7846b45bef
|
@ -768,7 +768,7 @@ Response InternalServer::handle_catalog(const RequestContext& request)
|
||||||
startIndex = extractFromString<unsigned long>(request.get_argument("start"));
|
startIndex = extractFromString<unsigned long>(request.get_argument("start"));
|
||||||
} catch (...) {}
|
} catch (...) {}
|
||||||
try {
|
try {
|
||||||
filter.acceptTags(kiwix::split(request.get_argument("notag"), ";"));
|
filter.acceptTags(kiwix::split(request.get_argument("tag"), ";"));
|
||||||
} catch (...) {}
|
} catch (...) {}
|
||||||
try {
|
try {
|
||||||
filter.rejectTags(kiwix::split(request.get_argument("notag"), ";"));
|
filter.rejectTags(kiwix::split(request.get_argument("notag"), ";"));
|
||||||
|
|
Loading…
Reference in New Issue