remove step: second function
This commit is contained in:
parent
2196a89ec3
commit
fb683e438d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user