projects
/
virtual-ldap
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73b8876
)
fix single filter queries
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 29 Apr 2009 08:48:16 +0000
(08:48 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 29 Apr 2009 08:48:16 +0000
(08:48 +0000)
lib/LDAP/Koha.pm
patch
|
blob
|
history
diff --git
a/lib/LDAP/Koha.pm
b/lib/LDAP/Koha.pm
index
fccc38f
..
05532ea
100644
(file)
--- 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 ) {