mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Etemplate: Make sure controller has current filters when created. Fixes scrolling to trigger fetching more rows did not pass initial filters.
This commit is contained in:
parent
0df6306dc2
commit
c78c8cc215
@ -1199,6 +1199,7 @@ var et2_nextmatch = /** @class */ (function (_super) {
|
||||
this.rowProvider.setDataRowTemplate(columnWidgets, _rowData, this);
|
||||
// Create the grid controller
|
||||
this.controller = new et2_extension_nextmatch_controller_1.et2_nextmatch_controller(null, this.egw(), this.getInstanceManager().etemplate_exec_id, this, null, this.dataview.grid, this.rowProvider, this.options.settings.action_links, null, this.options.actions);
|
||||
this.controller.setFilters(this.activeFilters);
|
||||
// Need to trigger empty row the first time
|
||||
if (total == 0)
|
||||
this.controller._emptyRow();
|
||||
|
@ -1664,6 +1664,8 @@ export class et2_nextmatch extends et2_DOMWidget implements et2_IResizeable, et2
|
||||
this.options.actions
|
||||
);
|
||||
|
||||
this.controller.setFilters(this.activeFilters)
|
||||
|
||||
// Need to trigger empty row the first time
|
||||
if(total == 0) this.controller._emptyRow();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user