TF-1735 Fix filter not applied to search
(cherry picked from commit 9eb95386d2de383f83cfc3065e96855787918f44)
This commit is contained in:
@@ -45,7 +45,7 @@ class SearchEmailFilter with EquatableMixin {
|
||||
emailReceiveTimeType ?? EmailReceiveTimeType.allTime;
|
||||
|
||||
SearchEmailFilter copyWith({
|
||||
Set<String>? from,
|
||||
Option<Set<String>>? fromOption,
|
||||
Set<String>? to,
|
||||
SearchQuery? text,
|
||||
Option<String>? subjectOption,
|
||||
@@ -58,7 +58,7 @@ class SearchEmailFilter with EquatableMixin {
|
||||
Option<UTCDate>? endDateOption,
|
||||
}) {
|
||||
return SearchEmailFilter(
|
||||
from: from ?? this.from,
|
||||
from: _getOptionParam(fromOption, from),
|
||||
to: to ?? this.to,
|
||||
text: text ?? this.text,
|
||||
subject: _getOptionParam(subjectOption, subject),
|
||||
|
||||
Reference in New Issue
Block a user