Fix opds filtering by tag.

This commit is contained in:
Matthieu Gautier committed 2020-01-30 15:42:54 +01:00
1 parent 7e26f3502d
commit 7846b45bef
1 file changed
+1 -1
+1 -1
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"), ";"));