mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 15:33:23 +01:00
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