From f3762d98847e934bcce6c1818fb388698634a71f Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Sat, 18 Jan 2014 11:58:34 +0000 Subject: [PATCH] Fix typo causing wrong record count after delete --- etemplate/js/et2_extension_nextmatch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index 6e696bbe8f..8e4d5181a4 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -480,7 +480,7 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput], // then triggers an invalidate, which may update the grid // this.dataview.grid.setTotalCount(this.options.settings.total); // Update directly instead - this.dataview.grid._total -= this.options.settings.total; + this.dataview.grid._total = this.options.settings.total; this.controller._selectionMgr._total = this.options.settings.total; this.header.count_total.text(this.options.settings.total+"");