TF-3291 Fix [SEARCH] No results if you add > 1 address in the From field

This commit is contained in:
dab246
2024-11-23 02:43:53 +07:00
committed by Dat H. Pham
parent 522c194ad0
commit 50e88d859e
@@ -127,7 +127,7 @@ class SearchEmailFilter with EquatableMixin, OptionParamMixin {
..._generateFilterFromToField(),
if (from.length > 1)
LogicFilterOperator(
Operator.AND,
Operator.OR,
from.map((e) => EmailFilterCondition(from: e)).toSet(),
),
if (notKeyword.length > 1)