mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-20 18:08:02 +02: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
|
// Check each column
|
||||||
var columns = _widget.getChildren();
|
var columns = _widget._widgets;
|
||||||
for (var i = 0; i < columns.length; i++) {
|
for (var i = 0; i < columns.length; i++) {
|
||||||
// If column is hidden, don't process it
|
// 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;
|
continue;
|
||||||
}
|
}
|
||||||
columns[i].iterateOver(process, this);
|
columns[i].iterateOver(process, this);
|
||||||
|
@ -297,11 +297,11 @@ export class et2_nextmatch_rowProvider
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Check each column
|
// Check each column
|
||||||
const columns = _widget.getChildren();
|
const columns = _widget._widgets;
|
||||||
for (var i = 0; i < columns.length; i++)
|
for (var i = 0; i < columns.length; i++)
|
||||||
{
|
{
|
||||||
// If column is hidden, don't process it
|
// 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;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user