From 43875379d5fcfc4e4d29e2edcbbed614a2050f7d Mon Sep 17 00:00:00 2001 From: thomascube Date: Thu, 2 Feb 2012 22:18:10 +0000 Subject: Allow users to choose cols for contacts list sorting --- program/include/rcmail.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'program/include/rcmail.php') diff --git a/program/include/rcmail.php b/program/include/rcmail.php index 5965099c9..1c34759e6 100644 --- a/program/include/rcmail.php +++ b/program/include/rcmail.php @@ -452,6 +452,10 @@ class rcmail true, true); } + // set configured sort order + if ($sort_col = $this->config->get('addressbook_sort_col')) + $contacts->set_sort_order($sort_col); + // add to the 'books' array for shutdown function $this->address_books[$id] = $contacts; -- cgit v1.2.3