alecpl
2011-11-30 7f79e22eb4baa44d17d34beddae48b1bfd18eaff
- 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.


1 files modified
2 ■■■ changed files
program/include/rcube_ldap.php 2 ●●● patch | view | raw | blame | history
program/include/rcube_ldap.php
@@ -740,7 +740,7 @@
            $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);