You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/03/21 10:51:56 UTC

[GitHub] [superset] villebro commented on issue #19275: when using jinja template with filters that have boolean values of type int , the filter not working

villebro commented on issue #19275:
URL: https://github.com/apache/superset/issues/19275#issuecomment-1073749711


   I'm not sure I consider this a bug. The problem is that the value that's coming back from `filter_values` is `int`, not `str`. You probably need to check the type of the value, and then omit the quotes and then cast to `str` in case of non-string filter values.


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org