jinja filter 'select' modified
CI-269
make the select jinja filter better
CI-269