summaryrefslogtreecommitdiff
path: root/program/steps/mail/search.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-11 10:57:24 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-11 14:53:14 +0200
commit51fcb01f0a86d148b470571c7e32dd089c9b090b (patch)
tree7f701085fa311400c2bfc6b720894ce7bc0b4d4e /program/steps/mail/search.inc
parenta8e478c07cd0a954e2d061b49a18ee9fc1552f6e (diff)
Added separate From and To columns apart from smart From/To column (#1486891)
Conflicts: CHANGELOG program/steps/mail/check_recent.inc program/steps/mail/func.inc program/steps/mail/list.inc program/steps/mail/mark.inc program/steps/mail/move_del.inc program/steps/mail/pagenav.inc program/steps/mail/search.inc skins/larry/mail.css skins/larry/templates/mail.html skins/larry/ui.js
Diffstat (limited to 'program/steps/mail/search.inc')
-rw-r--r--program/steps/mail/search.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc
index 49f31e0c1..ab026d5f3 100644
--- a/program/steps/mail/search.inc
+++ b/program/steps/mail/search.inc
@@ -107,10 +107,10 @@ $search_str = trim($search_str);
// execute IMAP search
if ($search_str)
- $IMAP->search($mbox, $search_str, $imap_charset, $_SESSION['sort_col']);
+ $IMAP->search($mbox, $search_str, $imap_charset, rcmail_sort_column());
// Get the headers
-$result_h = $IMAP->list_headers($mbox, 1, $_SESSION['sort_col'], $_SESSION['sort_order']);
+$result_h = $IMAP->list_headers($mbox, 1, rcmail_sort_column(), rcmail_sort_order());
$count = $IMAP->messagecount(NULL, $IMAP->threading ? 'THREADS' : 'ALL');
// save search results in session