TF-3296 Fix [SEARCH] Can't apply the "Starred" filter in search

This commit is contained in:
dab246
2024-11-23 02:54:28 +07:00
committed by Dat H. Pham
parent a10b7a9868
commit ff7d2a205b
@@ -150,10 +150,15 @@ class SearchController extends BaseController with DateRangePickerMixin {
}
}
final listHasKeyword = listFilterOnSuggestionForm.contains(QuickSearchFilter.starred)
? {KeyWordIdentifier.emailFlagged.value}
: null;
updateFilterEmail(
emailReceiveTimeTypeOption: Some(receiveTime),
hasAttachmentOption: Some(hasAttachment),
fromOption: Some(listFromAddress)
fromOption: Some(listFromAddress),
hasKeywordOption: optionOf(listHasKeyword),
);
clearFilterSuggestion();