diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-10-06 12:31:38 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-10-06 12:31:38 +0000 |
| commit | 18a669f37904eb9fc16de3d33784805a04e00fa5 (patch) | |
| tree | 5ce1f26b755937570e7620794c7df0c1018e52c1 /roundcubemail/program/include | |
| parent | 677a78610fca559c54adf1b258d9844956406ed5 (diff) | |
Skip VLV if a group is selected; show advanced search form if activating a 'searchonly' address book
git-svn-id: https://svn.roundcube.net/trunk@5315 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcube_ldap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php index d1a6c802e..97b0e7ee2 100644 --- a/roundcubemail/program/include/rcube_ldap.php +++ b/roundcubemail/program/include/rcube_ldap.php @@ -934,7 +934,7 @@ class rcube_ldap extends rcube_addressbook $this->_debug("C: Search [$filter]"); // when using VLV, we get the total count by... - if (!$count && $function != 'ldap_read' && $this->prop['vlv']) { + if (!$count && $function != 'ldap_read' && $this->prop['vlv'] && !$this->group_id) { // ...either reading numSubOrdinates attribute if ($this->prop['numsub_filter'] && ($result_count = @$function($this->conn, $this->base_dn, $this->prop['numsub_filter'], array('numSubOrdinates'), 0, 0, 0))) { $counts = ldap_get_entries($this->conn, $result_count); |
