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()),
|
from.map((e) => EmailFilterCondition(from: e)).toSet()),
|
||||||
if (notKeyword.isNotEmpty)
|
if (notKeyword.isNotEmpty)
|
||||||
LogicFilterOperator(
|
LogicFilterOperator(
|
||||||
Operator.AND,
|
Operator.NOT,
|
||||||
notKeyword.map((e) => EmailFilterCondition(notKeyword: e)).toSet()),
|
notKeyword.map((e) => EmailFilterCondition(text: e)).toSet()),
|
||||||
if (moreFilterCondition != null && moreFilterCondition.hasCondition)
|
if (moreFilterCondition != null && moreFilterCondition.hasCondition)
|
||||||
moreFilterCondition
|
moreFilterCondition
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user