mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
Fix bug in nm rowProvider preventing some re-ordered columns from getting their value
This commit is contained in:
parent
5fecbf3051
commit
83fd11f7c7
@ -247,10 +247,10 @@ var et2_nextmatch_rowProvider = /** @class */ (function () {
|
||||
}
|
||||
};
|
||||
// Check each column
|
||||
var columns = _widget.getChildren();
|
||||
var columns = _widget._widgets;
|
||||
for (var i = 0; i < columns.length; i++) {
|
||||
// If column is hidden, don't process it
|
||||
if (this._context && this._context.columns && this._context.columns[i] && !this._context.columns[i].visible) {
|
||||
if (typeof columns[i] === 'undefined' || this._context && this._context.columns && this._context.columns[i] && !this._context.columns[i].visible) {
|
||||
continue;
|
||||
}
|
||||
columns[i].iterateOver(process, this);
|
||||
|
@ -297,11 +297,11 @@ export class et2_nextmatch_rowProvider
|
||||
};
|
||||
|
||||
// Check each column
|
||||
const columns = _widget.getChildren();
|
||||
const columns = _widget._widgets;
|
||||
for (var i = 0; i < columns.length; i++)
|
||||
{
|
||||
// If column is hidden, don't process it
|
||||
if(this._context && this._context.columns && this._context.columns[i] && !this._context.columns[i].visible)
|
||||
if(typeof columns[i] === 'undefined' || this._context && this._context.columns && this._context.columns[i] && !this._context.columns[i].visible)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user