You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filtering on a boolean property has no effect at all. Example: $filter('filterBy')(collection, ['property'], true)
Looking at the source we can see that only string and number are allowed. Line 14: search = (isString(search) || isNumber(search)) ? String(search).toLowerCase() : undefined;
The text was updated successfully, but these errors were encountered:
Badisi
changed the title
filterBy with boolean is not working
filterBy on boolean is not working
Jun 27, 2016
Filtering on a boolean property has no effect at all.
Example:
$filter('filterBy')(collection, ['property'], true)
Looking at the source we can see that only string and number are allowed.
Line 14:
search = (isString(search) || isNumber(search)) ? String(search).toLowerCase() : undefined;
The text was updated successfully, but these errors were encountered: