summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-01-20 10:05:36 +0100
committerThomas Bruederli <thomas@roundcube.net>2014-01-20 10:05:36 +0100
commit1bbf8c48868efb87baab7ae71721f2c9ad408e65 (patch)
treea851d01eead102fabf9dddaef55465c4985d88b4 /program/steps/mail/func.inc
parent689a222170aed32165cbe8bc8fc89fd428b29186 (diff)
- Make search scope selectable in UI
- Disable thread mode when searching over multiple folders - Encode UID values for HTML message row identifiers
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 45d4242f9..fd321e294 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -105,6 +105,9 @@ if (empty($RCMAIL->action) || $RCMAIL->action == 'list') {
}
$OUTPUT->set_env('search_mods', rcmail_search_mods());
+
+ if (!empty($_SESSION['search_scope']))
+ $OUTPUT->set_env('search_scope', $_SESSION['search_scope']);
}
$threading = (bool) $RCMAIL->storage->get_threading();