mirror of https://github.com/apache/superset.git
[bugfix] filter widgets to apply on applicable Slices (#658)
Also fixed a white on white issue on hover
This commit is contained in:
parent
f25e37579d
commit
8ebe074954
|
@ -6,3 +6,17 @@
|
|||
.dashboard .filter_box .slice_container > div {
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
ul.select2-results li.select2-highlighted div.filter_box{
|
||||
color: black;
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #666;
|
||||
}
|
||||
|
||||
ul.select2-results div.filter_box{
|
||||
color: black;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
|
|
@ -189,7 +189,8 @@ class BaseViz(object):
|
|||
for slice_filters in extra_filters.values():
|
||||
for col, vals in slice_filters.items():
|
||||
if col and vals:
|
||||
filters += [(col, 'in', ",".join(vals))]
|
||||
if col in self.datasource.filterable_column_names:
|
||||
filters += [(col, 'in', ",".join(vals))]
|
||||
return filters
|
||||
|
||||
def query_obj(self):
|
||||
|
|
Loading…
Reference in New Issue