moathOSA opened a new issue #19275:
URL: https://github.com/apache/superset/issues/19275
when using a filter that have values like 0 , 1 which is a boolean filter
when retrieving the values of this filter in jinja template i faced this
error
```
sequence item 0: expected str instance, int found
```
and this is how the filter look like
```
{%- if (filter_values('cancelled') is defined) and
filter_values('cancelled') -%}
AND
cancelled IN ({{ "'" + "','".join(filter_values('cancelled')) +
"'" }})
{%- endif -%}
```
superset version 1.4.1
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stacktraces and included
it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version
of superset.
- [ ] I have checked the issue tracker for the same issue and I haven't
found one similar.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]