/[virtual-ldap]/lib/LDAP/Koha.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/LDAP/Koha.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 48 by dpavlin, Fri Apr 17 23:16:00 2009 UTC revision 49 by dpavlin, Wed Apr 29 08:48:16 2009 UTC
# Line 25  our $database = 'koha'; Line 25  our $database = 'koha';
25  our $user     = 'unconfigured-user';  our $user     = 'unconfigured-user';
26  our $passwd   = 'unconfigured-password';  our $passwd   = 'unconfigured-password';
27    
28  our $max_results = 1500; # 100; # FIXME  our $max_results = 3000; # FIXME must be enough for all users
29    
30  our $objectclass = 'HrEduPerson';  our $objectclass = 'HrEduPerson';
31    
# Line 177  sub search { Line 177  sub search {
177                                          }                                          }
178                                  }                                  }
179    
                                 $sql_where .= ' ' . join( " $filter ", @limits );  
   
180                          } else {                          } else {
181                                  __ldap_search_to_sql( $filter, $reqData->{'filter'}->{$filter} );                                  __ldap_search_to_sql( $filter, $reqData->{'filter'}->{$filter} );
182                          }                          }
183    
184                            $sql_where .= ' ' . join( " $filter ", @limits );
185    
186                  }                  }
187    
188                  if ( $sql_where ) {                  if ( $sql_where ) {

Legend:
Removed from v.48  
changed lines
  Added in v.49

  ViewVC Help
Powered by ViewVC 1.1.26