Improve applyFilters(), no longer blanks nextmatch before re-filling

This commit is contained in:
Nathan Gray 2014-01-18 13:46:33 +00:00
parent 2445fae8dd
commit ac0e2f6016
2 changed files with 1 additions and 4 deletions

View File

@ -154,7 +154,7 @@ var et2_dataview_controller = Class.extend({
} }
// Require that range from the server // Require that range from the server
this._queueFetch(et2_bounds(range.top, range.bottom + 1), true); this._queueFetch(et2_bounds(range.top, clear ? 0 : range.bottom + 1), true);
}, },
/** /**

View File

@ -399,9 +399,6 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
this[column.id] = column.get_value(); this[column.id] = column.get_value();
} }
}, this.activeFilters.col_filter, et2_INextmatchHeader); }, this.activeFilters.col_filter, et2_INextmatchHeader);
// Explicitly the total count to zero, we're going to get some new info
this.controller._grid.setTotalCount(0);
// Trigger an update // Trigger an update
this.controller.update(true); this.controller.update(true);