From dd54725b21bf1a5a2c617b70c05ef6fb1681505d Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Tue, 18 Jun 2013 07:49:19 -0400 Subject: [PATCH] Merge branch 'dev-advanced-ldap-groups': - Refactoring: separated address book implementation from generic LDAP wrapper class - Auto-detect and use VLV indices for all search operations - Additional group configuration options for LDAP address books - Allow address books to display a multi-level group hierarchy in the contacts list --- program/steps/addressbook/list.inc | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/program/steps/addressbook/list.inc b/program/steps/addressbook/list.inc index 1bb2865..6f3a3e0 100644 --- a/program/steps/addressbook/list.inc +++ b/program/steps/addressbook/list.inc @@ -81,6 +81,11 @@ $OUTPUT->show_message('contactsearchonly', 'notice'); $OUTPUT->command('command', 'advanced-search'); } + + if ($CONTACTS->group_id) { + $OUTPUT->command('set_group_prop', array('ID' => $CONTACTS->group_id) + + array_intersect_key((array)$CONTACTS->get_group($CONTACTS->group_id), array('name'=>1,'email'=>1))); + } } // update message count display -- Gitblit v1.9.1