From 43875379d5fcfc4e4d29e2edcbbed614a2050f7d Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 02 Feb 2012 17:18:10 -0500
Subject: [PATCH] Allow users to choose cols for contacts list sorting

---
 config/main.inc.php.dist |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 7dd5025..73967fb 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -664,6 +664,9 @@
 // show up to X items in contacts list view
 $rcmail_config['addressbook_pagesize'] = 50;
 
+// sort contacts by this col (preferably either one of name, firstname, surname)
+$rcmail_config['addressbook_sort_col'] = 'surname';
+
 // use this timezone to display date/time
 // valid timezone identifers are listed here: php.net/manual/en/timezones.php
 // 'auto' will use the browser's timezone settings

--
Gitblit v1.9.1