From ce5ac526ec5c73f0416facedf46fc4bc6ea2ba63 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Fri, 18 Aug 2017 17:03:50 -0700 Subject: [PATCH] [hotfix] self-immune filter_box fix --- superset/assets/javascripts/dashboard/Dashboard.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset/assets/javascripts/dashboard/Dashboard.jsx b/superset/assets/javascripts/dashboard/Dashboard.jsx index 39eab0eec4259..8a7000ea8b3fc 100644 --- a/superset/assets/javascripts/dashboard/Dashboard.jsx +++ b/superset/assets/javascripts/dashboard/Dashboard.jsx @@ -188,7 +188,7 @@ export function dashboardContainer(dashboard, datasources, userid) { immuneToFields = this.metadata.filter_immune_slice_fields[sliceId]; } for (const filteringSliceId in this.filters) { - if (filteringSliceId === sliceId) { + if (filteringSliceId === sliceId.toString()) { // Filters applied by the slice don't apply to itself continue; }