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;
|
stats.unfiltered_rows = rows;
|
||||||
})
|
|
||||||
function getFilteredRows() {
|
|
||||||
if ( filters && !_.isEmpty(filters)) {
|
if ( filters && !_.isEmpty(filters)) {
|
||||||
var analysisFilter = new AnalysisFilter(filters);
|
var analysisFilter = new AnalysisFilter(filters);
|
||||||
var query = analysisFilter.sql(unfiltered_query);
|
var query = analysisFilter.sql(unfiltered_query);
|
||||||
@ -41,7 +40,7 @@ FilterStatsBackends.prototype.getFilterStats = function (username, unfiltered_qu
|
|||||||
} else {
|
} else {
|
||||||
this(null, null);
|
this(null, null);
|
||||||
}
|
}
|
||||||
},
|
})
|
||||||
function receiveFilteredRows(err, rows) {
|
function receiveFilteredRows(err, rows) {
|
||||||
if (err){
|
if (err){
|
||||||
callback(err);
|
callback(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user