a8m / a8m/angular-filter

filterBy on boolean is not working

オープン
#208 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。