From e4ce74e622b0c4deb40dce71c88a8cc1bc064c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 1 Nov 2018 00:34:31 +0100 Subject: GH-2382 fix exact version filter not being exact... --- api/logic/Filter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api') 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) -- cgit v1.2.3