Lines 562-567
jQuery.fn.dataTable.ext.errMode = function(settings, note, message) {
Link Here
|
562 |
for (var i=0;i<attributes.length;i++){ |
562 |
for (var i=0;i<attributes.length;i++){ |
563 |
var part = {}; |
563 |
var part = {}; |
564 |
var attr = attributes[i]; |
564 |
var attr = attributes[i]; |
|
|
565 |
// escape SQL special characters |
566 |
value = value.replace(/(\%|\_)/g, "\\$1" ); |
565 |
let criteria = options.criteria; |
567 |
let criteria = options.criteria; |
566 |
if ( value.match(/^\^(.*)\$$/) ) { |
568 |
if ( value.match(/^\^(.*)\$$/) ) { |
567 |
value = value.replace(/^\^/, '').replace(/\$$/, ''); |
569 |
value = value.replace(/^\^/, '').replace(/\$$/, ''); |
568 |
- |
|
|