diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-11-30 10:48:17 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-11-30 10:48:17 +0000 |
| commit | e54a3f55eb690b0db9848bb21c285ae7a188a527 (patch) | |
| tree | bed338294bf6386ed5b67e9fb3388e885f3ae7f3 /roundcubemail | |
| parent | e2d5f36dedda0d4c6b00ad1d4ae7a26422218bd6 (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.
git-svn-id: https://svn.roundcube.net/trunk@5512 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
| -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 0733955bb..58e2ca921 100644 --- a/roundcubemail/program/include/rcube_ldap.php +++ b/roundcubemail/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); |
