Bug 31565: (QA follow-up) Remove support for _ as wildcard in -like queries
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
a4f09abd5c
commit
834c4a00cc
1 changed files with 1 additions and 1 deletions
|
@ -589,7 +589,7 @@ jQuery.fn.dataTable.ext.errMode = function(settings, note, message) {
|
|||
criteria = "exact";
|
||||
} else {
|
||||
// escape SQL LIKE special characters % and _
|
||||
value = value.replace(/(\%|\_|\\)/g, "\\$1");
|
||||
value = value.replace(/(\%|\\)/g, "\\$1");
|
||||
}
|
||||
part[!attr.includes('.')?'me.'+attr:attr] = criteria === 'exact'
|
||||
? value
|
||||
|
|
Loading…
Reference in a new issue