[Tickets #3366] Address book in free/busy not sorted

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Feb 2 02:56:56 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3366
-----------------------------------------------------------------------
 Ticket             | 3366
 Updated By         | hackeron at gmail.com
 Summary            | Address book in free/busy not sorted
 Queue              | Kronolith
 Version            | HEAD
 State              | Feedback
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


hackeron at gmail.com (2006-02-02 02:56) wrote:

I have the following set which sorts the main addressbook by firstname
(default is by family name).

// the format to display names.  Either 'last_first' or 'first_last'
$_prefs['name_format'] = array(
    'value' => 'first_last',
    'locked' => false,
    'shared' => false,
    'type' => 'enum',
    'desc' => _("Select the format used to display names:"),
    'enum' => array('last_first' => _("\"Lastname, Firstname\" (ie. Doe,
John)"),
                    'first_last' => _("\"Firstname Lastname\"  (ie. John
Doe)"),
                    'none' => _("no formatting"))
);

// user preferred sorting column
// zero based int representing the column number to sort by
$_prefs['sortby'] = array(
    'value' => 1,
    'locked' => false,
    'shared' => false,
    'type' => 'implicit'
);

// user preferred sorting direction
$_prefs['sortdir'] = array(
    'value' => 0,
    'locked' => false,
    'shared' => false,
    'type' => 'enum',
    'enum' => array(0 => _("Ascending"),
                    1 => _("Descending")),
    'desc' => _("Default sorting direction:")
);




More information about the bugs mailing list