summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/logic/Filter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/Filter.cpp b/api/logic/Filter.cpp
index 6ec26bcb..c65ca0ce 100644
--- a/api/logic/Filter.cpp
+++ b/api/logic/Filter.cpp
@@ -13,7 +13,7 @@ ExactFilter::ExactFilter(const QString& pattern) : pattern(pattern){}
ExactFilter::~ExactFilter(){}
bool ExactFilter::accepts(const QString& value)
{
- return value.contains(pattern);
+ return value == pattern;
}
RegexpFilter::RegexpFilter(const QString& regexp, bool invert)