|
|
@ -26,8 +26,9 @@ export function customTableFilterFunction(data: any, filter: any) {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!filterElement.options.caseSensitive) {
|
|
|
|
if (!filterElement.options.caseSensitive) {
|
|
|
|
searchString = searchString.toLowerCase();
|
|
|
|
searchString = searchString.toLowerCase().replace(/\s/g, '');
|
|
|
|
dataElement = dataElement.toLowerCase();
|
|
|
|
dataElement = dataElement.toLowerCase().replace(/\s/g, '');
|
|
|
|
|
|
|
|
console.log(searchString, dataElement);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (
|
|
|
|
if (
|
|
|
|
(filterElement.options.exact && dataElement !== searchString) ||
|
|
|
|
(filterElement.options.exact && dataElement !== searchString) ||
|
|
|
|