remove step: 3 function refactor
This commit is contained in:
parent
fb683e438d
commit
150658d58d
@ -36,9 +36,9 @@ FilterStatsBackends.prototype.getFilterStats = function (username, unfiltered_qu
|
||||
if ( filters && !_.isEmpty(filters)) {
|
||||
var analysisFilter = new AnalysisFilter(filters);
|
||||
var query = analysisFilter.sql(unfiltered_query);
|
||||
getEstimatedRows(self.pgQueryRunner, username, query, this);
|
||||
} else {
|
||||
this(null, null);
|
||||
getEstimatedRows(self.pgQueryRunner, username, query, function () {
|
||||
|
||||
});
|
||||
}
|
||||
})
|
||||
function receiveFilteredRows(err, rows) {
|
||||
|
Loading…
Reference in New Issue
Block a user