filterBy not distinguish positive and negative number
Aperta
- Lingua principale
- JavaScript
- Stelle
- 2.9k
- Fork
- 319
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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).
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.