in reply to Problems with Class::DBI::AbstractSearch
my @results = Library::Data::Res->search_where( information_type => \@info_type, format => \@formats, starting_point => \@topics ); SELECT id FROM res WHERE ( ( ( format = ? ) ) AND AND ( ( starting_p +oint = ? ) ) )
It looks like the "missing piece" between the two ANDs is where your information_type argument would go. Might @info_type be empty? Try commenting that one line out to confirm that fixes it.
|
|---|