MT#59597 fix remove trailing+leading % entirely for "wildcard" params

Change-Id: I371e2d41ff27b2801ead391778d9a2bdef914563
(cherry picked from commit 868e2657b6)
mr11.5
Rene Krenn 1 year ago
parent fb22a340b9
commit 16e4b06c75

@ -1983,6 +1983,7 @@ sub wildcard_search {
$search_value = $search_string;
} else {
$op = 'like';
$search_value = $search_string_escaped;
}
$op = $comparison_op if (defined $comparison_op);
$search_value = $convert_code->($search_string) if (ref $convert_code eq 'CODE');

Loading…
Cancel
Save