Fix opds filtering by tag.

This commit is contained in:
Matthieu Gautier 2020-01-29 18:42:12 +01:00
parent 7e26f3502d
commit 7846b45bef
1 changed files with 1 additions and 1 deletions

View File

@ -768,7 +768,7 @@ Response InternalServer::handle_catalog(const RequestContext& request)
startIndex = extractFromString<unsigned long>(request.get_argument("start"));
} catch (...) {}
try {
filter.acceptTags(kiwix::split(request.get_argument("notag"), ";"));
filter.acceptTags(kiwix::split(request.get_argument("tag"), ";"));
} catch (...) {}
try {
filter.rejectTags(kiwix::split(request.get_argument("notag"), ";"));