Closed Danny-Alexander closed 5 years ago
Might be useful: https://github.com/joewalnes/filtrex - a simple, safe, JavaScript expression engine
category == "meal" and (calories * weight > 2000.0 or subcategory in ("cake", "pie"))
This looks better: https://querybuilder.js.org/ - QueryBuilder is an UI component to create queries and filters.