summaryrefslogtreecommitdiff
path: root/program/include/rcmail.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-02-02 22:18:10 +0000
committerthomascube <thomas@roundcube.net>2012-02-02 22:18:10 +0000
commit43875379d5fcfc4e4d29e2edcbbed614a2050f7d (patch)
tree2679484edd2b05012c56eb01d6bfc8ff67916328 /program/include/rcmail.php
parentfd6f6e27c4c727c1485674147e997eb9ce6118d6 (diff)
Allow users to choose cols for contacts list sorting
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r--program/include/rcmail.php4
1 files changed, 4 insertions, 0 deletions
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;