don't use wildcards in event view advanced search fields

pull/3065/head
Andrew Bauer 2020-10-22 15:06:06 -05:00
parent 29819d8044
commit 235dd2a2fb
1 changed files with 2 additions and 1 deletions

View File

@ -140,7 +140,8 @@ function queryRequest($search, $advsearch, $sort, $offset, $order, $limit) {
ZM\Error("'$col' is not a sortable column name");
continue;
}
$text = '%' .$text. '%';
//Don't use wildcards. Let the user specify them if needed.
//$text = '%' .$text. '%';
array_push($likes, $col.' LIKE ?');
array_push($query['values'], $text);
}