filterBy not distinguish positive and negative number
Đ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ả
Considering this code
``` javascript
block in orderjson.Blocks | filterBy: ['ID_Block']: block_NM.ID_Block
```
if ID_Block have on array values [1, -1,3,5] and filter is set to 1.
I expect to print just first value, but filter print also -1 because comparision consider 1,-1 the same.
On the flipside of the coin, using only positive values it works fine (no duplicates).
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á.