filterBy on boolean is not working
未关闭
- 主要语言
- JavaScript
- 星标
- 2.9k
- 派生
- 319
- PR 合并指标
- 30 天内没有已合并 PR
描述
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;`
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。