Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
filterBy on boolean is not working #208
Comments
|
yes, it will be great to have it |
Filtering on a boolean property has no effect at all.
Example:
$filter('filterBy')(collection, ['property'], true)Looking at the source we can see that only string and number are allowed.
Line 14:
search = (isString(search) || isNumber(search)) ? String(search).toLowerCase() : undefined;