From 5f88d794c701c585308d27994d8b8b58b807c065 Mon Sep 17 00:00:00 2001 From: SJ Date: Wed, 19 Jun 2013 12:09:29 +0200 Subject: [PATCH] show both the received/sent emails by default --- webui/model/search/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/model/search/search.php b/webui/model/search/search.php index ed41c528..9cabb827 100644 --- a/webui/model/search/search.php +++ b/webui/model/search/search.php @@ -212,7 +212,7 @@ class ModelSearchSearch extends Model { if($o_to) { $o_t = "@to $o_to"; } - if($f_f == '' && $o_f == '' && $f_t == '' && $o_t == '') { return "@to $all_your_addresses"; } + if($f_f == '' && $o_f == '' && $f_t == '' && $o_t == '') { return "(@from $all_your_addresses | @to $all_your_addresses)"; } if($f_f == '' && $o_f == '' && $f_t == '' && $o_t ) { return "$o_t"; } if($f_f == '' && $o_f == '' && $f_t && $o_t == '') { return "(@from $all_your_addresses & $f_t)"; } if($f_f == '' && $o_f == '' && $f_t && $o_t ) { return "($o_t | (@from $all_your_addresses & $f_t))"; }