TF-1155 Automatically clear value of From/To field when disable advanced search
Signed-off-by: dab246 <tdvu@linagora.com> (cherry picked from commit 6f6e6970887525f3fbb9d0003eda8e1c5d41afa0)
This commit is contained in:
@@ -172,7 +172,7 @@ class SearchController extends BaseController with DateRangePickerMixin {
|
||||
|
||||
void updateFilterEmail({
|
||||
Option<Set<String>>? fromOption,
|
||||
Set<String>? to,
|
||||
Option<Set<String>>? toOption,
|
||||
SearchQuery? text,
|
||||
Option<String>? subjectOption,
|
||||
Set<String>? notKeyword,
|
||||
@@ -185,7 +185,7 @@ class SearchController extends BaseController with DateRangePickerMixin {
|
||||
}) {
|
||||
searchEmailFilter.value = searchEmailFilter.value.copyWith(
|
||||
fromOption: fromOption,
|
||||
to: to,
|
||||
toOption: toOption,
|
||||
text: text,
|
||||
subjectOption: subjectOption,
|
||||
notKeyword: notKeyword,
|
||||
|
||||
Reference in New Issue
Block a user