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 08:21:00 UTC

[GitHub] [superset] villebro commented on issue #19271: when using jinja template with filters, the filter applies twice !!

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


   If you add `remove_filter=True` to the `filter_values` call the filter won't apply twice. See here: https://github.com/apache/superset/blob/dc575080d7e43d40b1734bb8f44fdc291cb95b11/superset/jinja_context.py#L222-L224
   
   We're considering making this the new default behavior in Superset 2.0, but in the 1.x branch this still needs to be done explicitly.


-- 
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