From 4f19c51b60bfb40122ff577883c613741572b5d5 Mon Sep 17 00:00:00 2001 From: thomasb Date: Thu, 2 Feb 2012 22:18:10 +0000 Subject: Allow users to choose cols for contacts list sorting git-svn-id: https://svn.roundcube.net/trunk@5850 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcmail.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'roundcubemail/program/include/rcmail.php') diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php index 5965099c9..1c34759e6 100644 --- a/roundcubemail/program/include/rcmail.php +++ b/roundcubemail/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