filterBy on boolean is not working
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 2.9k
- Fork
- 319
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Filtering on a boolean property has no effect at all.
_Example_: `$filter('filterBy')(collection, ['property'], true)`
Looking at the [source](https://github.com/a8m/angular-filter/blob/master/src/_filter/collection/filter-by.js) we can see that only string and number are allowed.
_Line 14_: `search = (isString(search) || isNumber(search)) ? String(search).toLowerCase() : undefined;`
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.