diff -ru roundcubemail/config/main.inc.php.dist roundcubemail.new/config/main.inc.php.dist
|
old
|
new
|
|
| 313 | 313 | 'firstname_field' => 'gn', // this field represents the contact's first name |
| 314 | 314 | 'sort' => 'cn', // The field to sort the listing by. |
| 315 | 315 | 'scope' => 'sub', // search mode: sub|base|list |
| | 316 | 'sizelimit' => 20, // search size limit |
| 316 | 317 | 'filter' => '', // used for basic listing (if not empty) and will be &'d with search queries. example: status=act |
| 317 | 318 | 'fuzzy_search' => true); // server allows wildcard search |
| 318 | 319 | */ |
diff -ru roundcubemail/program/include/rcube_ldap.php roundcubemail.new/program/include/rcube_ldap.php
|
old
|
new
|
|
| 622 | 622 | |
| 623 | 623 | $this->_debug("C: Search [".$filter."]"); |
| 624 | 624 | |
| 625 | | if ($this->ldap_result = @$function($this->conn, $this->prop['base_dn'], $filter, array_values($this->fieldmap), 0, 0)) { |
| | 625 | if ($this->ldap_result = @$function($this->conn, $this->prop['base_dn'], $filter, array_values($this->fieldmap), 0, $this->prop['sizelimit'])) { |
| 626 | 626 | $this->_debug("S: ".ldap_count_entries($this->conn, $this->ldap_result)." record(s)"); |
| 627 | 627 | return true; |
| 628 | 628 | } else |