summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2008-01-31 14:34:50 +0000
committersvncommit <devs@roundcube.net>2008-01-31 14:34:50 +0000
commit1f020b588c1bd215f1d3c713f5dc04b131375b9b (patch)
treea56580e8f1c0b249ff3d07547718f06dacf4d6b8 /program/steps/mail/func.inc
parent39fd6951264e2c691580277fd295278f273d1d77 (diff)
Remember search results (closes #1483883).
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index de8987248..b508a1fcb 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -48,7 +48,11 @@ if (!isset($_SESSION['sort_order']))
// set message set for search result
if (!empty($_REQUEST['_search']) && isset($_SESSION['search'][$_REQUEST['_search']]))
+ {
$IMAP->set_search_set($_SESSION['search'][$_REQUEST['_search']]);
+ $OUTPUT->set_env('search_request', $_REQUEST['_search']);
+ $OUTPUT->set_env('search_text', $_SESSION['last_text_search']);
+ }
// define url for getting message parts