- 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.
pull/1/head
alecpl 13 years ago
parent af4b3be87d
commit 7f79e22eb4

@ -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);

Loading…
Cancel
Save