diff --git a/api/js/etemplate/et2_extension_nextmatch.js b/api/js/etemplate/et2_extension_nextmatch.js index 37be55d495..820d369dcd 100644 --- a/api/js/etemplate/et2_extension_nextmatch.js +++ b/api/js/etemplate/et2_extension_nextmatch.js @@ -597,7 +597,7 @@ var et2_nextmatch = /** @class */ (function (_super) { (this.is_sorted_by_modified() ? 0 : false); // workaround for datagrid deleting the last row, see ticket #48204 // if we only have a couple of rows, do a full refresh instead - if (this.controller.getTotalCount() < 15) { + if (this.controller.getTotalCount() < 15 && type != et2_nextmatch.UPDATE) { return false; } // No add, do a full refresh diff --git a/api/js/etemplate/et2_extension_nextmatch.ts b/api/js/etemplate/et2_extension_nextmatch.ts index 2e675f663d..8e079e1cd6 100644 --- a/api/js/etemplate/et2_extension_nextmatch.ts +++ b/api/js/etemplate/et2_extension_nextmatch.ts @@ -894,7 +894,7 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2 // workaround for datagrid deleting the last row, see ticket #48204 // if we only have a couple of rows, do a full refresh instead - if (this.controller.getTotalCount() < 15) + if (this.controller.getTotalCount() < 15 && type != et2_nextmatch.UPDATE) { return false; }