pull/256/head
cagataycivici 2020-03-06 11:44:03 +03:00
parent 21ff3c48e5
commit 8b60fbf355
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ export default class FilterUtils {
if (value.getTime && filter.getTime) if (value.getTime && filter.getTime)
return value.getTime() === filter.getTime(); return value.getTime() === filter.getTime();
else else
return ObjectUtils.removeAccents(value.toString()).toLowerCase() == ObjectUtils.removeAccents(filter.toString()).toLowerCase(); return ObjectUtils.removeAccents(value.toString()).toLowerCase() === ObjectUtils.removeAccents(filter.toString()).toLowerCase();
} }
static notEquals(value, filter) { static notEquals(value, filter) {
@ -74,7 +74,7 @@ export default class FilterUtils {
if (value.getTime && filter.getTime) if (value.getTime && filter.getTime)
return value.getTime() !== filter.getTime(); return value.getTime() !== filter.getTime();
else else
return ObjectUtils.removeAccents(value.toString()).toLowerCase() != ObjectUtils.removeAccents(filter.toString()).toLowerCase(); return ObjectUtils.removeAccents(value.toString()).toLowerCase() !== ObjectUtils.removeAccents(filter.toString()).toLowerCase();
} }
static in(value, filter) { static in(value, filter) {