Added the viewcart macro.
Lookup registrant now works. Fixed some bugs.
This commit is contained in:
parent
02c24aa44a
commit
23ea56bbe6
10 changed files with 164 additions and 36 deletions
|
|
@ -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++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue