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:
x4base
2016-07-01 16:45:04 -05:00
committed by Maxime Beauchemin
parent 917bc984eb
commit d5b22dd86e
5 changed files with 38 additions and 25 deletions

View File

@@ -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);
}
}