angular-filter
angular-filter copied to clipboard
filterBy on boolean is not working
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;
yes, it will be great to have it