On invalid regular expression, keep all current rows displayed in data-table view

This commit is contained in:
Owen Stephens 2017-10-27 10:55:32 +01:00
parent e4db4d7633
commit 178e4e5bca

View File

@ -430,9 +430,6 @@ Refine.fetchRows = function(start, limit, onDone, sorting) {
function(data) { function(data) {
if(data.code === 'error') { if(data.code === 'error') {
data = theProject.rowModel; data = theProject.rowModel;
//maybe change the data to zero?
data.rows = [];
data.filtered = 0;
} }
theProject.rowModel = data; theProject.rowModel = data;