X-Git-Url: http://git.rot13.org/?p=virtual-ldap;a=blobdiff_plain;f=lib%2FLDAP%2FKoha.pm;fp=lib%2FLDAP%2FKoha.pm;h=05532eae0b6a1cfe0f581e1f7841610c894c1f1a;hp=fccc38f99894ae987601cce436fab4b245125df1;hb=393f5f337f96d9db5cad0d840aea07048b4f2d00;hpb=73b88761ef8b4801dddb2a8117dcaab4b98a9545 diff --git a/lib/LDAP/Koha.pm b/lib/LDAP/Koha.pm index fccc38f..05532ea 100644 --- a/lib/LDAP/Koha.pm +++ b/lib/LDAP/Koha.pm @@ -25,7 +25,7 @@ our $database = 'koha'; our $user = 'unconfigured-user'; our $passwd = 'unconfigured-password'; -our $max_results = 1500; # 100; # FIXME +our $max_results = 3000; # FIXME must be enough for all users our $objectclass = 'HrEduPerson'; @@ -177,12 +177,12 @@ sub search { } } - $sql_where .= ' ' . join( " $filter ", @limits ); - } else { __ldap_search_to_sql( $filter, $reqData->{'filter'}->{$filter} ); } + $sql_where .= ' ' . join( " $filter ", @limits ); + } if ( $sql_where ) {