search api accept multiple tags parameter

pull/306/head
luddens 7 years ago committed by Matthieu Gautier
parent 79a64d5af3
commit 794f63e22b

@ -714,7 +714,7 @@ static struct MHD_Response* handle_catalog(RequestContext* request)
startIndex = stoul(request->get_argument("start")); startIndex = stoul(request->get_argument("start"));
} catch (...) {} } catch (...) {}
try { try {
tags.push_back(request->get_argument("tag")); tags = kiwix::split(request->get_argument("notag"), ";");
} catch (...) {} } catch (...) {}
try { try {
noTags = kiwix::split(request->get_argument("notag"), ";"); noTags = kiwix::split(request->get_argument("notag"), ";");

Loading…
Cancel
Save