forked from extern/egroupware
Etemplate: Apply sort order (to UI) if server sends it
This commit is contained in:
parent
5246e34638
commit
522fca6344
@ -519,6 +519,9 @@ var et2_nextmatch_controller = /** @class */ (function (_super) {
|
||||
nm.getParent().getArrayMgr('sel_options').data[id] = _response.rows.sel_options[id];
|
||||
}
|
||||
}
|
||||
else if (i === "order") {
|
||||
nm.sortBy(_response.rows[i], undefined, false);
|
||||
}
|
||||
else {
|
||||
var mgr = nm.getArrayMgr('content');
|
||||
mgr.data[i] = _response.rows[i];
|
||||
|
@ -636,6 +636,10 @@ export class et2_nextmatch_controller extends et2_dataview_controller implements
|
||||
nm.getParent().getArrayMgr('sel_options').data[id] = _response.rows.sel_options[id];
|
||||
}
|
||||
}
|
||||
else if (i === "order")
|
||||
{
|
||||
nm.sortBy(_response.rows[i], undefined, false);
|
||||
}
|
||||
else
|
||||
{
|
||||
var mgr = nm.getArrayMgr('content');
|
||||
|
Loading…
Reference in New Issue
Block a user