Added the viewcart macro.

Lookup registrant now works.
Fixed some bugs.
This commit is contained in:
JT Smith 2008-04-11 22:00:17 +00:00
parent 02c24aa44a
commit 23ea56bbe6
10 changed files with 164 additions and 36 deletions

View file

@ -348,11 +348,11 @@ sub buildSearchQuery {
else {
$$sql .= ' where (';
}
$keywords = '%'.$keywords.'%';
$keywords = lc('%'.$keywords.'%');
my $counter = 0;
foreach my $field (@{ $columns }) {
$$sql .= ' or' if ($counter > 0);
$$sql .= qq{ $field like ?};
$$sql .= qq{ LOWER( $field ) like ?};
push(@{$placeHolders}, $keywords);
$counter++;
}