Allow "field:query" in the quick filter bar

This commit is contained in:
Twan van Laarhoven
2020-04-27 01:22:40 +02:00
parent 1a39b85b73
commit 7ef0b885bb
6 changed files with 76 additions and 46 deletions
+2 -1
View File
@@ -12,6 +12,7 @@
#include <script/scriptable.hpp>
#include <util/dynamic_arg.hpp>
#include <util/regex.hpp>
#include <data/filter.hpp>
DECLARE_POINTER_TYPE(KeywordParam);
DECLARE_POINTER_TYPE(KeywordMode);
@@ -116,7 +117,7 @@ class Keyword : public IntrusivePtrVirtualBase {
void prepare(const vector<KeywordParamP>& param_types, bool force = false);
/// Does the keyword contain the given query word?
bool contains(String const& word) const;
bool contains(QuickFilterPart const& query) const;
DECLARE_REFLECTION();
};