Fixing 2 bugs that happen when fields are removed from table (#551)

This commit is contained in:
Maxime Beauchemin
2016-06-02 12:39:21 -07:00
parent 5f005d67e3
commit b5614a433e
2 changed files with 3 additions and 2 deletions

View File

@@ -237,7 +237,8 @@ function initExploreView() {
function set_filters() {
for (var i = 1; i < 10; i++) {
var eq = px.getParam("flt_eq_" + i);
if (eq !== '') {
var col = px.getParam("flt_col_" + i);
if (eq !== '' && col !== '') {
add_filter(i);
}
}