remove step: 2 function refactor
This commit is contained in:
parent
bafeceeb6e
commit
2196a89ec3
@ -28,11 +28,10 @@ FilterStatsBackends.prototype.getFilterStats = function (username, unfiltered_qu
|
||||
|
||||
getEstimatedRows(self.pgQueryRunner, username, unfiltered_query, function (err, rows) {
|
||||
if (err){
|
||||
callback(err);
|
||||
return;
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
stats.unfiltered_rows = rows;
|
||||
this(null, rows);
|
||||
})
|
||||
function getFilteredRows() {
|
||||
if ( filters && !_.isEmpty(filters)) {
|
||||
|
Loading…
Reference in New Issue
Block a user