diff options
| author | robin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-01-31 14:34:50 +0000 |
|---|---|---|
| committer | robin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-01-31 14:34:50 +0000 |
| commit | 7e32c833856ef909c7d2abddfcb3eaa1f5a06a6d (patch) | |
| tree | c2925ee4d2f537b4eff803db30e8ddbf463475ca /roundcubemail/program/steps/mail/func.inc | |
| parent | e9603547a950ad049e2d7fea327339c7486bc8be (diff) | |
Remember search results (closes #1483883).
git-svn-id: https://svn.roundcube.net/trunk@976 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/func.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index de8987248..b508a1fcb 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/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 |
