TF-1845 Fix the searching result is not correct with the condition Doesn't have and Has the words
(cherry picked from commit b941d36ff96700dbc367244acd39bbe4a143314c)
This commit is contained in:
@@ -108,8 +108,8 @@ class SearchEmailFilter with EquatableMixin {
|
||||
from.map((e) => EmailFilterCondition(from: e)).toSet()),
|
||||
if (notKeyword.isNotEmpty)
|
||||
LogicFilterOperator(
|
||||
Operator.AND,
|
||||
notKeyword.map((e) => EmailFilterCondition(notKeyword: e)).toSet()),
|
||||
Operator.NOT,
|
||||
notKeyword.map((e) => EmailFilterCondition(text: e)).toSet()),
|
||||
if (moreFilterCondition != null && moreFilterCondition.hasCondition)
|
||||
moreFilterCondition
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user