angular-filter icon indicating copy to clipboard operation
angular-filter copied to clipboard

filterBy on boolean is not working

Open Badisi opened this issue 9 years ago • 1 comments

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;

Badisi avatar Jun 27 '16 14:06 Badisi

yes, it will be great to have it

vmironovs avatar Jul 19 '16 06:07 vmironovs