mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
language/category filtering in /nojs endpoint
Adds language and category filter in /nojs. Unlike the main page, the filtering is only done after user submits the form.
This commit is contained in:
@ -120,6 +120,8 @@ class Filter {
|
||||
Filter& maxSize(size_t size);
|
||||
Filter& query(std::string query, bool partial=true);
|
||||
Filter& name(std::string name);
|
||||
Filter& clearLang();
|
||||
Filter& clearCategory();
|
||||
|
||||
bool hasQuery() const;
|
||||
const std::string& getQuery() const { return _query; }
|
||||
|
Reference in New Issue
Block a user