ui-grid
ui-grid copied to clipboard
filterFunc is not working properly with 0 value
self.evalFilter -> filterFunc is not working properly when value is numeric 0. Problem is here (line 2154, build 2.0.6):
if (!value || !result) {
return false;
}
!0 returns true. Should be fixed like this:
if (value === undefined || value === null || !result) {
return false;
}
Thanks. Should be fixed in latest 2.0.7.