remove step: second function

This commit is contained in:
Simon Martín 2018-07-30 15:56:18 +02:00
parent 2196a89ec3
commit fb683e438d

View File

@ -32,8 +32,7 @@ FilterStatsBackends.prototype.getFilterStats = function (username, unfiltered_qu
}
stats.unfiltered_rows = rows;
})
function getFilteredRows() {
if ( filters && !_.isEmpty(filters)) {
var analysisFilter = new AnalysisFilter(filters);
var query = analysisFilter.sql(unfiltered_query);
@ -41,7 +40,7 @@ FilterStatsBackends.prototype.getFilterStats = function (username, unfiltered_qu
} else {
this(null, null);
}
},
})
function receiveFilteredRows(err, rows) {
if (err){
callback(err);