summaryrefslogtreecommitdiff
path: root/program/steps/mail/search.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/search.inc
parent39fd6951264e2c691580277fd295278f273d1d77 (diff)
Remember search results (closes #1483883).
Diffstat (limited to 'program/steps/mail/search.inc')
-rw-r--r--program/steps/mail/search.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc
index 5ed6627ef..66fcf47a3 100644
--- a/program/steps/mail/search.inc
+++ b/program/steps/mail/search.inc
@@ -89,6 +89,7 @@ if (is_array($result) && $result[0] != '')
if ($result_h != NULL)
{
$_SESSION['search'][$search_request] = $IMAP->get_search_set();
+ $_SESSION['last_text_search'] = $str;
rcmail_js_message_list($result_h);
$OUTPUT->show_message('searchsuccessful', 'confirmation', array('nr' => $count));
}
@@ -107,4 +108,4 @@ $OUTPUT->set_env('pagecount', $pages);
$OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count, 1));
$OUTPUT->send();
-?> \ No newline at end of file
+?>