mirror of
https://github.com/apache/superset.git
synced 2026-04-27 12:05:24 +00:00
Filter empty strings or nulls, and add more operators (#704)
* Filter empty strings or nulls, and add more operators * Encapsulate strings for translation
This commit is contained in:
committed by
Maxime Beauchemin
parent
917bc984eb
commit
d5b22dd86e
@@ -294,9 +294,8 @@ function initExploreView() {
|
||||
function set_filters() {
|
||||
["flt", "having"].forEach(function (prefix) {
|
||||
for (var i = 1; i < 10; i++) {
|
||||
var eq = px.getParam(prefix + "_eq_" + i);
|
||||
var col = px.getParam(prefix + "_col_" + i);
|
||||
if (eq !== '' && col !== '') {
|
||||
if (col !== '') {
|
||||
add_filter(i, prefix);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user