From af7264ab2b067f100342e68a25053ae8fb6bb5fa Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Sat, 11 Aug 2012 08:11:47 -0400 Subject: [PATCH] Added separate From and To columns apart from smart From/To column (#1486891) --- program/steps/mail/search.inc | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc index 3f9b86e..72c0946 100644 --- a/program/steps/mail/search.inc +++ b/program/steps/mail/search.inc @@ -110,7 +110,7 @@ // execute IMAP search if ($search_str) - $RCMAIL->storage->search($mbox, $search_str, $imap_charset, $_SESSION['sort_col']); + $RCMAIL->storage->search($mbox, $search_str, $imap_charset, $sort_column); // save search results in session if (!is_array($_SESSION['search'])) @@ -124,7 +124,7 @@ // Get the headers -$result_h = $RCMAIL->storage->list_messages($mbox, 1, $_SESSION['sort_col'], $_SESSION['sort_order']); +$result_h = $RCMAIL->storage->list_messages($mbox, 1, rcmail_sort_column(), rcmail_sort_order()); $count = $RCMAIL->storage->count($mbox, $RCMAIL->storage->get_threading() ? 'THREADS' : 'ALL'); -- Gitblit v1.9.1