summaryrefslogtreecommitdiff
path: root/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-30 10:48:17 +0000
committeralecpl <alec@alec.pl>2011-11-30 10:48:17 +0000
commit7f79e22eb4baa44d17d34beddae48b1bfd18eaff (patch)
tree4284a3e5e2a39aaf474e7b14351f81791bc428a5 /program/include/rcube_ldap.php
parentaf4b3be87d7251fd2cd4b9bd0cee617dca733622 (diff)
- Set sizelimit of main search function for vlv_search to page_size.
It was requested as performance improvement, but I wasn't able to confirm this. However it doesn't break anything.
Diffstat (limited to 'program/include/rcube_ldap.php')
-rw-r--r--program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 0733955bb..58e2ca921 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -740,7 +740,7 @@ class rcube_ldap extends rcube_addressbook
$function = $this->_scope2func($this->prop['scope']);
$this->ldap_result = @$function($this->conn, $this->base_dn, $this->filter ? $this->filter : '(objectclass=*)',
- array_values($this->fieldmap), 0, (int)$this->prop['sizelimit'], (int)$this->prop['timelimit']);
+ array_values($this->fieldmap), 0, $this->page_size, (int)$this->prop['timelimit']);
$this->result = new rcube_result_set(0);