fixed #9028: Thingy fails when setting values containing single quotes
This commit is contained in:
parent
b7b6f7e659
commit
70e6b8a03d
2 changed files with 3 additions and 2 deletions
|
|
@ -3009,7 +3009,8 @@ sequenceNumber');
|
|||
"searchFields_is".$fieldType => 1,
|
||||
});
|
||||
my $searchValue = $session->form->process("field_".$field->{fieldId});
|
||||
push(@constraints,$dbh->quote_identifier("field_".$field->{fieldId})." like '%".$searchValue."%'") if ($searchValue);
|
||||
push @constraints, $dbh->quote_identifier("field_".$field->{fieldId}) . " LIKE "
|
||||
. $dbh->quote('%'.$searchValue.'%') if ($searchValue);
|
||||
}
|
||||
if($field->{displayInSearch}){
|
||||
my $orderByUrl = $self->session->url->append($currentUrl,"orderBy=".$field->{fieldId});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue