mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Don't event set sort order if it hasn't changed
This commit is contained in:
parent
e588d63291
commit
5c10576b3b
@ -519,7 +519,7 @@ var et2_nextmatch_controller = /** @class */ (function (_super) {
|
|||||||
nm.getParent().getArrayMgr('sel_options').data[id] = _response.rows.sel_options[id];
|
nm.getParent().getArrayMgr('sel_options').data[id] = _response.rows.sel_options[id];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (i === "order") {
|
else if (i === "order" && _response.rows[i] !== nm.activeFilters.order) {
|
||||||
nm.sortBy(_response.rows[i], undefined, false);
|
nm.sortBy(_response.rows[i], undefined, false);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -636,7 +636,7 @@ export class et2_nextmatch_controller extends et2_dataview_controller implements
|
|||||||
nm.getParent().getArrayMgr('sel_options').data[id] = _response.rows.sel_options[id];
|
nm.getParent().getArrayMgr('sel_options').data[id] = _response.rows.sel_options[id];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (i === "order")
|
else if (i === "order" && _response.rows[i] !== nm.activeFilters.order)
|
||||||
{
|
{
|
||||||
nm.sortBy(_response.rows[i], undefined, false);
|
nm.sortBy(_response.rows[i], undefined, false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user