aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 076c29104c..43363f4930 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1063,6 +1063,10 @@ folder_browser_config_search (EFilterBar *efb, FilterRule *rule, int id, const c
FilterInput *input = (FilterInput *)filter_part_find_element(part, "sender");
if (input)
filter_input_set_value(input, query);
+ } else if(!strcmp(part->name, "to")) {
+ FilterInput *input = (FilterInput *)filter_part_find_element(part, "recipient");
+ if (input)
+ filter_input_set_value(input, query);
}
partl = partl->next;